Welcome to my first post!
I'm currently experimenting with Bootstrap 5 to create some stylish cards.
One of the challenges I'm facing is achieving uniform width and height for all the cards.
Specifically, I want all my cards aligned based on a h6 division within the card body.
I've tried different flexbox classes from the Bootstrap documentation, but so far, no luck.
Here's an example of what I'm aiming for
Below is a snippet of my code:
<div class="row row-cols-1 row-cols-lg-2 g-4">
<div class="col mb-4">
<div class="card h-100">
<img src="......" alt="..." class="card-img-top">
<div class="card-body">
<div class="card-text h-auto">
<p><span class="fs-5">Alisa </span>lorem ipsum dolor sit amet, consectetur adipisicing el
lorem du<br>
Lorem ipsum dolor sit amet, consectetuer adipis.<br>
... (content continues)
Lorem ipsdum dsdhrd grshbsdx ezgsygrs... <span><a href="...">[more]</a></span>
</p>
</div>
<div class="border-0">
<h6 class="p-2 rounded mt-2">Books</h6>
// More content here
</div>
</div>
<div class="card-footer">
<p class="mb-0"><span>Lorem ipsum</span> : Lorem ipsum dolor sit amet, consectetur adip.
Lorem
ipsum dolor sit. Lorem ipsum dolor sit amet, consectetur adip. Lorem ipsum dolor sit.
</p>
</div>
</div>
</div>
<div class="col mb-4">
<div class="card h-100">
<img src="......" alt="..." class="card-img-top">
<div class="card-body">
<div class="card-text h-auto">
<p><span class="fs-5">Alisa </span>lorem ipsum dolor sit amet, consectetur adipisicing el
lorem du<br>
... (content continues)
Lorem ipsdum dsdhrd grshbsdx ezgsygrs... <span><a href="...">[more]</a></span>
</p>
</div>
<div class="border-0">
<h6 class="p-2 rounded mt-2">Books</h6>
// More content here
</div>
</div>
<div class="card-footer">
<p class="mb-0"><span>Lorem ipsum</span> : Lorem ipsum dolor sit amet, consectetur adip.
Lorem ipsum dolor sit. Lorem ipsum dolor sit amet, consectetur adip. Lorem ipsum dolor sit.
</p>
</div>
</div>
</div>
</div>