Toggle navigation
Bootsnipp
Bootstrap
For
CSS Frameworks
Bootstrap
Foundation
Semantic UI
Materialize
Pure
Bulma
References
CSS Reference
Tools
Community
Page Builder
Form Builder
Button Builder
Icon Search
Dan's Tools
Diff / Merge
Color Picker
Keyword Tool
Web Fonts
.htaccess Generator
Favicon Generator
Site Speed Test
Snippets
Featured
Tags
By Bootstrap Version
4.1.1
4.0.0
3.3.0
3.2.0
3.1.0
3.0.3
3.0.1
3.0.0
2.3.2
Register
Login
"Custom Post Style"
Bootstrap 4.1.1 Snippet by
mhernan10
4.1.1
Preview
HTML
CSS
View Full Screen
Fork
Fork this
2.2K
 
0 Fav
Post to Facebook
Tweet this
<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; }
Questions / Comments:
Post
Posting Guidelines
Formatting
- Now
×
Close
Donate
BTC: 12JxYMYi6Vt3mx3hcmP3B2oyFiCSF3FhYT
ETH: 0xCD715b2E3549c54A40e6ecAaFeB82138148a6c76