"Equal card deck height - Bootstrap 4"
Bootstrap 4.1.1 Snippet by chandanndeep

<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js"></script> <script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <!------ Include the above in your HEAD tag ----------> <div class="container"> <h1 class="my-5">Equal card deck height using Bootstrap 4</h1> <div class="row"> <div class="col-lg-4 col-md-6 col-sm-12 p-3"> <div class="card h-100"> <img class="card-img-top img-fluid" src="//via.placeholder.com/350x150" alt="img"> <div class="card-body"> <h4 class="card-title">Card title</h4> <p class="card-text">This is a longer card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</p> </div> <div class="card-footer text-center bg-white"> <a class="btn btn-outline-secondary" href="#">View all</a> </div> </div> </div> <div class="col-lg-4 col-md-6 col-sm-12 p-3"> <div class="card h-100"> <img class="card-img-top img-fluid" src="//via.placeholder.com/350x150" alt="img"> <div class="card-body"> <h4 class="card-title">Card title</h4> <p class="card-text">This is a longer card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</p> </div> <div class="card-footer text-center bg-white"> <a class="btn btn-outline-secondary" href="#">View all</a> </div> </div> </div> <div class="col-lg-4 col-md-6 col-sm-12 p-3"> <div class="card h-100"> <img class="card-img-top img-fluid" src="//via.placeholder.com/350x150" alt="img"> <div class="card-body"> <h4 class="card-title">Card title</h4> <p class="card-text">This is a longer card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</p> </div> <div class="card-footer text-center bg-white"> <a class="btn btn-outline-secondary" href="#">View all</a> </div> </div> </div> <div class="col-lg-4 col-md-6 col-sm-12 p-3"> <div class="card h-100"> <img class="card-img-top img-fluid" src="//via.placeholder.com/350x150" alt="img"> <div class="card-body"> <h4 class="card-title">Card title</h4> <p class="card-text">This is a longer card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</p> </div> <div class="card-footer text-center bg-white"> <a class="btn btn-outline-secondary" href="#">View all</a> </div> </div> </div> <div class="col-lg-4 col-md-6 col-sm-12 p-3"> <div class="card h-100"> <img class="card-img-top img-fluid" src="//via.placeholder.com/350x150" alt="img"> <div class="card-body"> <h4 class="card-title">Card title</h4> <p class="card-text">This is a longer card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</p> </div> <div class="card-footer text-center bg-white"> <a class="btn btn-outline-secondary" href="#">View all</a> </div> </div> </div> <div class="col-lg-4 col-md-6 col-sm-12 p-3"> <div class="card h-100"> <img class="card-img-top img-fluid" src="//via.placeholder.com/350x150" alt="img"> <div class="card-body"> <h4 class="card-title">Card title</h4> <p class="card-text">This is a longer card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</p> </div> <div class="card-footer text-center bg-white"> <a class="btn btn-outline-secondary" href="#">View all</a> </div> </div> </div> </div> </div>

Related: See More


Questions / Comments: