In my layout, I am trying to achieve uniform height for three columns, each containing the same sections like title and address. Not only do I want the cards to have the same height, but also the nested sections should maintain equal heights. For instance, if one section's title spans three lines, the titles in the other two sections should also be of similar height even if they are shorter. I have attempted to implement this design but haven't succeeded so far.
<div class="container">
<div class="card">
<div class="row" style="background-color: yellowgreen;">Hey this is tariq</div>
<div class="row">Hey this is tariq
Hey this is tariq
Hey this is tariq
Hey this is tariq
</div>
(Additional code snippets here)
</div>
</div>
<style>
.container {
display: flex;
gap: 14px;
justify-content: center;
}
.card {
width: 22%;
height: 600px;
background: radial-gradient(black, transparent);
align-self: stretch;
}
.row{
border-bottom: 1px solid;
}
</style>
I aim to maintain consistent height for the green sections across all three columns.