Hi there, I'm in need of some assistance with a seemingly simple task that I've been struggling with for hours.
https://i.sstatic.net/6J6G7.png
I'm trying to create a 3 column layout where the images with varying heights align at the bottom, and the text with different lengths aligns at the top.
However, I've encountered an issue where the "h-100" class on the card is factoring in the text height, causing the alignment to be off. This results in the footer overlapping with the text.
<!DOCTYPE html>
<html lang="en">
<head>
<title>Bootstrap Example</title>
<meta charset="utf-8>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.0/umd/popper.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>
</head>
<body>
<div class="container">
<div class="row bg-dark">
<div class="col-12">
<h1 class="text-light">Heading</h1>
</div>
</div>
<div class="row">
<div class="col-4">
<div class="card border-0 h-100">
<div class="card-body d-flex align-items-end px-0">
<img src="https://placekitten.com/640/360" class="img-fluid">
</div>
</div>
<div class="px-0">
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit... Lorem ipsum dolor sit amet, consectetur adipisicing elit...</p>
</div>
</div>
<div class="col-4">
<div class="card border-0 h-100">
<div class="card-body d-flex align-items-end px-0">
<img src="https://placekitten.com/360/640" class="img-fluid">
</div>
</div>
<div class="px-0">
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit... Lorem ipsum dolor sit amet, consectetur adipisicing elit... Lorem ipsum dolor sit amet, consectetur adipisicing elit...</p>
</div>
</div>
<div class="col-4">
<div class="card border-0 h-100">
<div class="card-body d-flex align-items-end px-0">
<img src="https://placekitten.com/640/360" class="img-fluid">
</div>
</div>
<div class="px-0">
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit... Lorem ipsum dolor sit amet, consectetur adipisicing elit... Lorem ipsum dolor sit amet, consectetur adipisicing elit... Lorem ipsum dolor sit amet, consectetur adipisicing elit... Lorem ipsum dolor sit amet, consectetur adipisicing elit...</p>
</div>
</div>
</div>
<div class="row border-1">
<div class="col-12">
<h3 class="text-dark mb-0">Footer</h3>
</div>
</div>
</div>
</body>
</html>