The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › [Solved] Height of div
Here is my codepen:
How do I make the green and red class the same height as the image?
Bit outdated but works
If you dont want to support older browsers you might want to have a look into
display:table on the parent and display:table-cell on the children?