Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript fullscreen div that grows with content Re: fullscreen div that grows with content

#139757
Senff
Participant

So the div needs to be full height, but if there is more content in it, it needs to be larger?

I think replacing “height” with “min-height” should do the trick already: http://codepen.io/senff/pen/leowk