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
"Blog Post Example"
Bootstrap 3.0.0 Snippet by
NaszvadiG
3.0.0
blog
Preview
HTML
CSS
View Full Screen
Fork
Fork this
5.3K
 
2 Fav
Post to Facebook
Tweet this
<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js"></script> <script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <!DOCTYPE html> <html lang=""> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link href='//netdna.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css' rel='stylesheet'/> </head> <body> <div class="container"> <div class="row"> <div class="col-sm-6"> <div class="blog-pic"> <div class="blog-content"> <span class="blog-admin">Admin</span> <span class="blog-date">20/02/2015</span> <h4>Unique bootstrap blog post example</h4> <p> Sample bootstrap code of blog design elements using bootstrap, javascript, css, and html. The official example template. </p> <a class="read-more" href="#">Read More</a> </div><!-- end .blog-content --> </div> </div> </div> </div> </body> </html>
.blog-pic { background: url('http://lorempixel.com/263/243/')no-repeat; height: 250px; padding-left: 270px; } .blog-content { text-align: left; padding-left: 20px; } .blog-content .blog-admin { position: relative; padding-left: 20px; } .blog-content .blog-admin:before { content: "\f007"; font-family: FontAwesome; left: 0; position: absolute; top: 0; color: #00bcd4; } .blog-content .blog-date { position: relative; padding-left: 20px; float: right; } .blog-content .blog-date:before { content: "\f073"; font-family: FontAwesome; left: 0; position: absolute; top: 0; color: #00bcd4; } .blog-content h4 { font-weight: bold; border-bottom: 1px solid black; padding-bottom: 10px; } .blog-content p { padding-bottom: 20px; font-size: 14px; line-height: 1.8em; font-family: 'Open Sans', sans-serif; } .blog-content a.read-more { background: #00bcd4; color: #fff; font-size: 14px; padding: 8px 22px; margin-left: -50px; font-weight: bold; text-decoration: none; }
Questions / Comments:
Post
Posting Guidelines
Formatting
- Now
×
Close
Donate
BTC: 12JxYMYi6Vt3mx3hcmP3B2oyFiCSF3FhYT
ETH: 0xCD715b2E3549c54A40e6ecAaFeB82138148a6c76