"Custom Post Style"
Bootstrap 4.1.1 Snippet by mhernan10

<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="post-container col-sm-4"> <div class="post"> <img src="https://cdn.pixabay.com/photo/2017/03/05/00/34/panorama-2117310_960_720.jpg" alt="image not available"> <div class="description-box"> <h2><i>Miami, Florida</i></h2> <h3>Highlights of Miami</h3> <p>10 nights from <b>₤2,699pp</b></p> <hr> <p>MULTI-CENTRE</p> </div> </div> </div> <div class="post-container col-sm-4"> <div class="post"> <img src="https://cdn.pixabay.com/photo/2014/05/02/23/46/new-york-city-336475_960_720.jpg" alt="image not available"> <div class="description-box"> <h2><i>Brooklyn, New York</i></h2> <h3>Highlights of Brooklyn</h3> <p>10 nights from <b>₤3,799pp</b></p> <hr> <p>MULTI-CENTRE</p> </div> </div> </div> <div class="post-container col-sm-4"> <div class="post"> <img src="https://cdn.pixabay.com/photo/2014/05/02/23/46/new-york-city-336475_960_720.jpg" alt="image not available"> <div class="description-box"> <h2><i>Brooklyn, New York</i></h2> <h3>Highlights of Brooklyn</h3> <p>10 nights from <b>₤3,799pp</b></p> <hr> <p>MULTI-CENTRE</p> </div> </div> </div> <div class="post-lg-container col-12"> <div class="post-lg container-fluid"> <img class="col-sm-8" src="https://cdn.pixabay.com/photo/2014/05/02/23/46/new-york-city-336475_960_720.jpg" alt="image not available"> <div class="description-box-lg col-sm-4"> <h2><i>Brooklyn, New York</i></h2> <h3>Highlights of Brooklyn</h3> <p>10 nights from <b>₤3,799pp</b></p> <hr> <p>MULTI-CENTRE</p> </div> </div> </div> </div> </div>
@import url('https://fonts.googleapis.com/css?family=Playfair+Display'); html { font-size: 10px; } body { font-size: 1.6rem; background: #ccc; padding-bottom: 200px; } .post-container { padding: 0; } .post { height: 450px; padding: 0; margin: 20px; overflow: hidden; background: #fff; text-align: center; border-bottom: solid #f15a24; } .post img { display: block; height: 60%; } .description-box { padding: 10px; } .description-box > * { margin-bottom: 15px; } .description-box h2 { color: #b4b4b4; font-size: 1.4rem; } .description-box h3 { font-size: 2.2rem; font-family: 'Playfair Display'; } .description-box p:last-child { color: #f15a24; } /* ======================================== LARGE POST STYLE ======================================== */ .post-lg-container { background: #eee; } .post-lg { background: #fff; }

Related: See More


Questions / Comments: