Here is an example of the HTML code I am working with:
<div style="height: 80px">
...
</div>
<div class="container-fluid">
<div class="row">
<div class="col-xs-2 col1">...</div>
<div class="col-xs-10 col2">...</div>
</div>
</div>
Currently, both col1
and col2
have a height of auto
. However, col2
is always going to be larger than col1
.
I want col1
to always match the height of col2
, while still allowing col2
to adjust its height dynamically.
Is there a way to achieve this using CSS/SASS?