"Even height div's button bottom"
Bootstrap 4.1.1 Snippet by ReinierB78

<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"> <div class="row"> <div class="col-md-12"> <h1>Even height div's</h1> <p>Template suggestion for even height divs. Based on flexbox. No fancy stuff.</p> </div> </div> </div> <div class="container"> <div class="row box-row"> <div class="col-md-4 box-outer"> <div class="box-inner"> <h2>Title of box</h2> <p>Sed ut perspiciatis unde omnis isteunde omnis istevunde omnis isteunde omnis isteunde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae</p> </div> <a class="btn btn-absolute">More</a> </div> <div class="col-md-4 box-outer"> <div class="box-inner"> <h2>Title of box</h2> <p>Sed ut perspiciatis unde omnis isteunde omnis istevunde omnis isteunde omnis isteunde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni</p> </div> <a class="btn btn-absolute">More</a> </div> <div class="col-md-4 box-outer"> <div class="box-inner"> <h2>Title of box</h2> <p>Sed ut perspiciatis unde omnis isteunde omnis istevunde omnis isteunde omnis isteunde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae</p> </div> <a class="btn btn-absolute">More</a> </div> </div> </div> <div class="container"> <div class="row"> <div class="col-md-12"> <p>You're welcome. Cheers. </p> </div> </div> </div>
* { position: relative; box-sizing: border-box; } .btn { padding: 5px 15px; border: 1px solid #333; } .btn:hover { background-color: #eee; } .btn-absolute { position: absolute; left: 45px; bottom: 30px; } .box-row { display: flex; } .box-outer { max-width: 50%; min-width: 33%; flex: 1; } .box-inner { height: 100%; padding: 30px; background: #eee; display: block; } .box-inner p { margin-bottom: 60px; }

Related: See More


Questions / Comments: