Is there a way in CSS to make one column in a bootstrap grid determine the height of another column within the same row? For example, consider the following scenario:
<div class="row">
<div class="col col-sm-6" id="column1">
<!-- an element with varying height based on screen width -->
</div>
<div class="col col-sm-6" id="column2">
<!-- another element with different height - may be larger or smaller than the first element-->
</div>
</div>
I want the column with the id "column1" to set the height for the second column with the id "column2." This is needed for displaying images of different sizes in the first column and text descriptions in the second column. The text description might have more content causing it to have a greater height than the image. In such cases, I do not want the column height to increase, instead, the overflow text should be hidden.