Home › Forums › CSS › iFrame and footer conflict › Reply To: iFrame and footer conflict
October 29, 2016 at 6:21 pm
#247192
Participant
Without knowing the exact remaining height outside the iframe, one will have to estimate. Or use JS. On desktop this looks about right:
.hs {
height: calc(100vh - 255px);
}
A bit too small on mobile though so adding a media query to change the amount of pixels subtracted at some breaking point might be a good idea.