Bootstrap snippet and html example. blog page

This html snippet was created to help web designers, web developers, front-end and back-end developer save time. Use it for free in your project and build your app faster, You can also download the HTML, CSS, and JS code.
Tags: blog,post,list,image

HTML code

This is the html code used to create this bootstrap snippet, You can copy and paste the following html code inside a page with bootstrap 3.3.4 included, to get the result that you can see in the preview selection

<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css" rel="stylesheet">
<div class="container bootstrap snippets bootdey">
    <div class="row">
        <h2 class="text-muted">Welcome to our blog</h2>
        <hr>
    </div>
    <div class="row">
        <!-- posts -->
    <div class="col-md-8">
            <div class="panel blog-container">
              <div class="panel-body">
                <div class="image-wrapper">
                  <a class="image-wrapper image-zoom cboxElement" href="#">
                    <img src="https://www.bootdey.com/image/700x250/00CED1/000000" alt="Photo of Blog">
                    <div class="image-overlay"></div> 
                  </a>
                </div>
                
                <h4>Bootstrap 3.0</h4>
                <small class="text-muted">By <a href="#"><strong> John Doe</strong></a> |  Post on Jan 8, 2013  | 58 comments</small>
                
                <p class="m-top-sm m-bottom-sm">
                  Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam eros nibh, viverra a dui a, gravida varius velit. Nunc vel tempor nisi. Aenean id pellentesque mi, non placerat mi. Integer luctus accumsan tellus. Vivamus quis elit sit amet nibh lacinia suscipit eu quis purus. Vivamus tristique est non ipsum dapibus lacinia sed nec metus.
                </p>
                <a href="#"><i class="fa fa-angle-double-right"></i> Continue reading</a>
                <span class="post-like text-muted tooltip-test" data-toggle="tooltip" data-original-title="I like this post!">
                  <i class="fa fa-heart"></i> <span class="like-count">25</span>
                </span>
              </div>
            </div>  
            <div class="panel blog-container">
              <div class="panel-body">
                <div class="image-wrapper">
                  <a class="image-wrapper image-zoom cboxElement" href="#">
                    <img src="https://www.bootdey.com/image/700x250/FF69B4/000000" alt="Photo of Blog">
                    <div class="image-overlay"></div> 
                  </a>
                </div>
                
                <h4>Bootstrap 3.0</h4>
                <small class="text-muted">By <a href="#"><strong> John Doe</strong></a> |  Post on Jan 8, 2013  | 58 comments</small>
                
                <p class="m-top-sm m-bottom-sm">
                  Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam eros nibh, viverra a dui a, gravida varius velit. Nunc vel tempor nisi. Aenean id pellentesque mi, non placerat mi. Integer luctus accumsan tellus. Vivamus quis elit sit amet nibh lacinia suscipit eu quis purus. Vivamus tristique est non ipsum dapibus lacinia sed nec metus.
                </p>
                <a href="#"><i class="fa fa-angle-double-right"></i> Continue reading</a>
                <span class="post-like text-muted tooltip-test" data-toggle="tooltip" data-original-title="I like this post!">
                  <i class="fa fa-heart"></i> <span class="like-count">25</span>
                </span>
              </div>
            </div>          
    </div>
        
        <div class="col-md-4">
            <h4 class="headline text-muted">
              POPULAR POST
              <span class="line"></span>
            </h4>
            <div class="media popular-post">
              <a class="pull-left" href="#">
                <img src="https://www.bootdey.com/image/60x60/9400D3/000000" alt="Popular Post">
              </a>
              <div class="media-body">
                Lorem ipsum dolor sit amet, consectetur adipiscing elit. 
              </div>
            </div>  
            <div class="media popular-post">
              <a class="pull-left" href="#">
                <img src="https://www.bootdey.com/image/60x60/4B0082/000000" alt="Popular Post">
              </a>
              <div class="media-body">
                Lorem ipsum dolor sit amet, consectetur adipiscing elit. 
              </div>
            </div>  
            <div class="media popular-post">
              <a class="pull-left" href="#">
                <img src="https://www.bootdey.com/image/60x60/E6E6FA/000000" alt="Popular Post">
              </a>
              <div class="media-body">
                Lorem ipsum dolor sit amet, consectetur adipiscing elit. 
              </div>
            </div>    
            <div class="media popular-post">
              <a class="pull-left" href="#">
                <img src="https://www.bootdey.com/image/60x60/FFFACD/000000" alt="Popular Post">
              </a>
              <div class="media-body">
                Lorem ipsum dolor sit amet, consectetur adipiscing elit. 
              </div>
            </div>    
            <div class="media popular-post">
              <a class="pull-left" href="#">
                <img src="https://www.bootdey.com/image/60x60/E0FFFF/000000" alt="Popular Post">
              </a>
              <div class="media-body">
                Lorem ipsum dolor sit amet, consectetur adipiscing elit. 
              </div>
            </div>            
        </div>
  </div>
</div>

CSS code

This is the css code used to create this bootstrap snippet, You can copy and paste the following css code inside a page with bootstrap 3.3.4 included, to get the result that you can see in the preview selection

body {
  padding-top: 0;
  font-size: 12px;
  color: #777;
  background: #f9f9f9;
  font-family: 'Open Sans',sans-serif;
  margin-top:20px;
}

.panel {
  position: relative;
  background: #fff;
}

.image-wrapper {
  position: relative;
  display: block;
  overflow: hidden;
}

.blog-container a:not(.btn) {
  color: #999;
  transition: all .2s linear;
  -webkit-transition: all .2s linear;
  -moz-transition: all .2s linear;
  -ms-transition: all .2s linear;
  -o-transition: all .2s linear;
}

.image-wrapper img {
  transition: all .4s ease;
  -webkit-transition: all .4s ease;
  -moz-transition: all .4s ease;
  -ms-transition: all .4s ease;
  -o-transition: all .4s ease;
}

.image-wrapper:hover .image-overlay {
  opacity: .9;
  transition: all .4s ease;
  -webkit-transition: all .4s ease;
  -moz-transition: all .4s ease;
  -ms-transition: all .4s ease;
  -o-transition: all .4s ease;
  transform: translateX(0%);
  -webkit-transform: translateX(0%);
  -moz-transform: translateX(0%);
  -ms-transform: translateX(0%);
  -o-transform: translateX(0%);
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  background-color: #3c8dbc;
  background-image: -moz-linear-gradient(top,#5fa4cc,#3c8dbc);
  background-image: -webkit-gradient(linear,0 0,0 100%,from(#5fa4cc),to(#3c8dbc));
  background-image: -webkit-linear-gradient(top,#5fa4cc,#3c8dbc);
  background-image: -o-linear-gradient(top,#5fa4cc,#3c8dbc);
  background-image: linear-gradient(to bottom,#5fa4cc,#3c8dbc);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#5fa4cc, endColorstr=#3c8dbc, GradientType=0);
  filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
  border: 6px solid #296282;
  transition: all .4s ease;
  -webkit-transition: all .4s ease;
  -moz-transition: all .4s ease;
  -ms-transition: all .4s ease;
  -o-transition: all .4s ease;
}

.post-like {
  float: right;
  cursor: pointer;
}

.headline {
  margin: 20px 0;
  padding: 5px 0 10px;
  border-bottom: 1px solid #eee;
  font-weight: 500;
}

h4, .h4 {
  font-size: 18px;
}

.media, .media-body {
  overflow: hidden;
  zoom: 1;
}

Similar snippets

Bootstrap example and template. zig zag user description

zig zag user description

Bootstrap example and template. product cards

product cards

Bootstrap example and template. Team member cards

Team member cards

Bootstrap example and template. bs4 schedule list

bs4 schedule list

Bootstrap example and template. bs5 dark footer

bs5 dark footer

Bootstrap example and template. invoice card

invoice card

Bootstrap example and template. bs5 forum list

bs5 forum list

Bootstrap example and template. User list page

User list page

Bootstrap example and template. blog page

About this bootstrap example/template

We hope you will enjoy this awesome snippet and stay tuned for the latest updates, bootdey snippets are already used in thousands of blogs, websites and projects. We believe it will save your precious time and gives trendy look to your next web project.

We always try to offer the best beautiful and responsive source of Bootstrap code examples and components.

This code example currectly have 9.7K views, Using this bootstrap snippet you have the following benefits:

Bootstrap 3.3.4

<link rel='stylesheet' href='https://netdna.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css'>

<script src='https://netdna.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js'></script>

This code example is based on bootstrap 3.3.4 and the grid system of this framework

Responsive

Based on bootstrap framework makes all the layouts perfectly responsive for all devices

Crossbrowser compatibility

Tested on all major browsers, it works smoothly on all of them

semantic html 5

Built on html / css3 the code quality is really amazing

Simple Integration

This code example can be simply integrated on existing sites and new ones too, all you need to do is copy the code and start working