Is there a method to make the heights of a text and image column equal? I am looking for a way to align the height of the text section with the image section.
This adjustment would result in the picture being displayed cropped or shortened.
.row-eq-height{
display: flex;
}
.row-eq-height [class*="col-"]{
border: 1px solid #000;
}
<div class="container">
<div class="row row-eq-height">
<div class="col-md-7">
<div class="text-container">
<h2>Headline</h2>
<p>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et</p>
</div>
</div>
<div class="col-md-5">
<div class="img-container">
<img src="https://www.placecage.com/400/400" />
</div>
</div>
</div>
</div>