Flex equal height column but respect max height of another column [duplicate]
问题 This question already has answers here : One flex item sets the height limit for siblings (4 answers) Closed 2 years ago . How does I make the below code work just with CSS (flex) and without Javascript, the second column have dynamic list of content for which I need to apply scroll bar depending upon the height of first column. HTML <div class="row d-flex"> <div class="col-lg-6 mx-200"> <img class="img-responsive" src="lorem.jpg"/> </div> <div class="col-lg-6 respect-left-col-height of-a">