Forums

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

Home Forums CSS dependent dimensions in css Reply To: dependent dimensions in css

#241413
bearhead
Participant

simplest way would be to give the parent element set dimensions, and then let the children elements be 100% width and height of that.

Or if you can’t specify exact dimensions, maybe try showing/hiding elements instead of changing their z-index:
http://codepen.io/kvana/pen/VagqBM