Home › Forums › CSS › Create flexbox menu that takes up rest of vertical space of browser window › Reply To: Create flexbox menu that takes up rest of vertical space of browser window
December 10, 2015 at 12:48 am
#235770
Participant
Damn it – in Iceweasel/Firefox they do! And they should:
display: flex;
“The element behaves like a block element and lays out its content according to the flexbox model.”
display – CSS | MDN
So, setting the .nav
class’s height to 100% should work (the nav
element does grow to the bottom).
But in Chromium/Chrome, indeed they don’t! And here I thought flexbox was safe in modern browsers …