I have a couple of elements in columns which are not the same heights(text in the divs is not always the same) so all .top elements need the be de same height as each other, and all .bottom elements needs to be the same height as all .bottom elements. I know this cna be done with javascript but I dont want to use this. Can this be done in CSS?
<div class="row">
<div class="col">
<div class="top"></div>
<div class="bottom"></div>
</div>
<div class="col">
<div class="top"></div>
<div class="bottom"></div>
</div>
<div class="col">
<div class="top"></div>
<div class="bottom"></div>
</div>
</div>