Forums

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

Home Forums CSS Problems setting div height to 100% of parent value Reply To: Problems setting div height to 100% of parent value

#245849
Alex Zaworski
Participant

Happy to help! If you want to have the columns collapse on smaller screens, the cleanest way I know is to just add flex-direction: column to the parent via a media query. You don’t even need to worry about the width on the children— they’ll sort themselves out :)