I have the following application styled with bootstrap
Both columns have the same height, however, I want the content of both columns to be aligned so that the buttons in both sections are at the same height, meaning that the content in the columns must occupy all space in the div element.
My component looks like this:
<div id="section" class="container-fluid">
<div class="row" style="height: 100%">
<div class="col-6 text-center d-flex flex-column justify-content-center align-items-center">
<div class="card text-center" style="border: none; height: 100%">
<h1>
Title ONE
</h1>
<div class="card-body">
<h5 class="card-title">Id mei error ignota mentitum.</h5>
<h5 class="card-title">Lorem ipsum dolor sit amet, vero invenire cum et, semper</h5>
<h5 class="card-title">mea sumo doctus scripta cu, te qui omnes numquam mentitum.</h5>
<a href="#" class="btn btn-outline-info" style="border-radius:20px;">BUTTON ONE</a>
</div>
</div>
</div>
<div class="col-6 d-flex flex-column justify-content-center align-items-center">
<div class="card text-center" style="border: none; height: 100%">
<h1>
Title TWO
</h1>
<div class="card-body">
<h5 class="card-title">His te nibh vulputate interpretaris, eros error nullam vix ut. Nullam discere commune ei ius, zril vocent ea sed. Per cu augue melius fabulas.</h5>
<h5 class="card-title">Eu nec hendrerit dissentias, eos aperiam prodesset no.</h5>
<h5 class="card-title">Mollis tibique vis te, has eu veri euismod repudiare.</h5>
<a href="#" class="btn btn-outline-info" style="border-radius:20px;">BUTTON TWO</a>
</div>
</div>
</div>
</div>
</div>
CSS
.card-title {
padding: 10px;
font-weight: lighter;
}
#section {
padding: 20px;
}