Forums

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

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

#235772
Valentin Born
Participant

But now I have a question (concerning above pens, so I will attach to this thread): As a flex item, shouldn’t the header be unaffected by height?! In the first pen, I had set its height to 5rem and it seemed to work just fine (corrected to flex-basis in the second pen).