DEV Community

Discussion on: How to Set Main-Container Div's Height Responsive in relevance to nested div elements ?

Collapse
 
royalfig profile image
Ryan Feigenbaum

Hi. The use of floats will make that complicated. One solution is to add display: flex; to the main container. You'll have to move the Timeline H1 tag into the child div, so it looks right