Home › Forums › CSS › Problems setting div height to 100% of parent value › Reply To: Problems setting div height to 100% of parent value
September 23, 2016 at 11:50 am
#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 :)