Forums

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

Home Forums Design Apply same height of Parent and Child (CSS4Dummies) Reply To: Apply same height of Parent and Child (CSS4Dummies)

#261282
JeroenR
Participant

Yes, that is correct. To be quick, your div.content is a flex item, but it doesn’t grow automatically because default is not to grow. So just put for example flex-grow: 1 in your style for div.content and it will grow.