I have two divs wrapped inside a wrapper, both have dynamic heights:
#wrapper { display: flex; }
<div id="wrapper"> <div id="left">dynamic content, height could be more or less than #right</div> <div id="right">dynamic content, height could be more or less than #left</div> </div>
The left div should always be the leading factor for the height of the wrappers. Is there any way to make this clean only css?
The width of the columns is known; I am using the Bootstrap grid layout.
I know that by giving #wrapper div display: flex div children are equal in height. Is there any property to tell the browser #left height always the height of the wrapper , regardless of whether the content contains less than #right ? I went through the full Flexbox tutorial , but such a property does not seem to exist.
Here is an image to make my question clearer:

source share