Blog post list

This bootstrap snippet called "Blog post list" was created to help web designers,
front-end developers and back-end developer save time. Use it in your project and build your app faster,
You can also download the HTML, CSS, and JS code
tags: Bootstrap,snippet,blog,post,list

HTML code

Copy, paste, change, customize and run the following HTML code to get a result like the one shown in the preview selection

<div class="container bootstrap snippet">
    <hr>
	<ol class="breadcrumb">
		<li><a href="#">Page name</a></li>
		<li><a href="#">Blog</a></li>
		<li><a href="#">Blog</a></li>
		<li class="pull-right"><a href="" class="text-muted">
			<i class="fa fa-refresh"></i></a>
		</li>
	</ol>
	<div class="row">
	    <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
	        <div class="well blog">
	            <a href="#">
	                <div class="date primary">
	                    <span class="blog-date">Oct</span>
	                    <span class="blog-number">8</span>
	                </div>
	                <div class="row">
	                    <div class="col-xs-12 col-sm-8 col-md-8 col-lg-8">
	                        <div class="image">
	                            <img src="https://lorempixel.com/800/534/sports/1/" alt="">
	                        </div>
	                    </div>
	                    <div class="col-xs-12 col-sm-4 col-md-4 col-lg-4">
	                        <div class="blog-details">
	                            <h2>Post title 1</h2>
	                            <p>
	                                Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam tristique libero et est iaculis, id placerat nisi luctus. Aenean volutpat risus non fermentum feugiat. Etiam facilisis arcu ante, sed molestie diam mollis vel...
	                            </p>
	                        </div>
	                    </div>
	                </div>
	            </a>
	        </div>
	    </div>
	    <div class
	    ="col-xs-12 col-sm-12 col-md-12 col-lg-12">
	        <div class="well blog">
	            <a href="#">
	                <div class="date">
	                    <span class="blog-date">Sept</span>
	                    <span class="blog-number">28</span>
	                </div>
	                <div class="row">
	                    <div class="col-xs-12 col-sm-8 col-md-8 col-lg-8">
	                        <div class="image">
	                            <img src="https://lorempixel.com/800/534/nature/4/" alt="">
	                        </div>
	                    </div>
	                    <div class="col-xs-12 col-sm-4 col-md-4 col-lg-4">
	                        <div class="blog-details">
	                            <h2>Post title 2</h2>
	                            <p>
	                                Vestibulum commodo quis lacus vel eleifend. Donec sapien turpis, lobortis ut fringilla nec, congue vitae massa. Sed ullamcorper urna congue elit sodales feugiat ut sed nisl. Ut egestas a mauris non pharetra...
	                            </p>
	                        </div>
	                    </div>
	                </div>
	            </a>
	        </div>
	    </div>
	    <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
	        <div class="well blog">
	            <a href="#">
	                <div class="date success">
	                    <span class="blog-date">Sept</span>
	                    <span class="blog-number">23</span>
	                </div>
	                <div class="row">
	                    <div class="col-xs-12 col-sm-8 col-md-8 col-lg-8">
	                        <div class="image">
	                            <img src="https://lorempixel.com/800/534/people/4/" alt="">
	                        </div>
	                    </div>
	                    <div class="col-xs-12 col-sm-4 col-md-4 col-lg-4">
	                        <div class="blog-details">
	                            <h2>Post title 3</h2>
	                            <p>
	                                Cras rhoncus elementum libero et rutrum. Sed lorem lectus, mollis pellentesque sollicitudin molestie, eleifend sed augue. Ut a consequat purus. Fusce sit amet turpis est...
	                            </p>
	                        </div>
	                    </div>
	                </div>
	            </a>
	        </div>
	    </div>
	    <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
	        <div class="well blog">
	            <a href="#">
	                <div class="date warning">
	                    <span class="blog-date">Sept</span>
	                    <span class="blog-number">14</span>
	                </div>
	                <div class="row">
	                    <div class="col-xs-12 col-sm-8 col-md-8 col-lg-8">
	                        <div class="image">
	                            <img src="https://lorempixel.com/800/534/transport/4/" alt="">
	                        </div>
	                    </div>
	                    <div class="col-xs-12 col-sm-4 col-md-4 col-lg-4">
	                        <div class="blog-details">
	                            <h2>Post title 4</h2>
	                            <p>
	                                Quisque ac risus nibh. Ut nisi nisi, hendrerit quis malesuada vel, laoreet quis justo. In tincidunt eget est in rhoncus. Sed non tincidunt ipsum. Curabitur commodo tempus metus ut imperdiet. Mauris nec nulla...
	                            </p>
	                        </div>
	                    </div>
	                </div>
	            </a>
	        </div>
	    </div>

	    <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
	        <div class="well blog info">
	            <a href="#">
	                <div class="date">
	                    <span class="blog-date">Sept</span>
	                    <span class="blog-number">9</span>
	                </div>
	                <div class="row">
	                    <div class="col-xs-12 col-sm-8 col-md-8 col-lg-8">
	                        <div class="image">
	                            <img src="https://lorempixel.com/800/534/city/4/" alt="">
	                        </div>
	                    </div>
	                    <div class="col-xs-12 col-sm-4 col-md-4 col-lg-4">
	                        <div class="blog-details">
	                            <h2>Post title 5</h2>
	                            <p>
	                                Morbi tellus nisl, lacinia sit amet dui ut, suscipit pharetra tellus. Nulla in rutrum magna. Donec dui diam, feugiat rhoncus vehicula ut, mollis et turpis. Donec erat tortor, tincidunt in condimentum sed...
	                            </p>
	                        </div>
	                    </div>
	                </div>
	            </a>
	        </div>
	    </div>

	    <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
	        <div class="well blog">
	            <a href="#">
	                <div class="date danger">
	                    <span class="blog-date">Sept</span>
	                    <span class="blog-number">2</span>
	                </div>
	                <div class="row">
	                    <div class="col-xs-12 col-sm-8 col-md-8 col-lg-8">
	                        <div class="image">
	                            <img src="https://lorempixel.com/800/534/food/4/" alt="">
	                        </div>
	                    </div>
	                    <div class="col-xs-12 col-sm-4 col-md-4 col-lg-4">
	                        <div class="blog-details">
	                            <h2>Post title 6</h2>
	                            <p>
	                                Ut tempor ligula et suscipit aliquam. Quisque in venenatis massa. Fusce imperdiet erat ac magna aliquet aliquam. Morbi fermentum est felis. Duis ultricies, lectus at facilisis tristique...
	                            </p>
	                        </div>
	                    </div>
	                </div>
	            </a>
	        </div>
	    </div>
	</div>
</div>                    

CSS code

Copy, paste, change, customize and run the following CSS code to get a result Like the one shown in the preview selection

body{
 background:#eee;    
}

p {
    font-size: 14px;
    color: #777;
}

.blog .image {
    height: 250px;
    overflow: hidden;
    border-radius: 3px 0 0 3px;
}

.blog .image img {
    width: 100%;
    height: auto;
}

.blog .date {
    top: -10px;
    z-index: 99;
    width: 65px;
    right: -10px;
    height: 65px;
    padding: 10px;
    position: absolute;
    color:#FFFFFF;
    font-weight:bold;
    background: #5bc0de;
    border-radius: 999px;
}

.blog .blog-details {
    padding: 0 20px 0 0;
}

.blog {
    padding: 0;
}

.well {
    border: 0;
    padding: 20px;
    min-height: 63px;
    background: #fff;
    box-shadow: none;
    border-radius: 3px;
    position: relative;
    max-height: 100000px;
    border-bottom: 2px solid #ccc;
}

.blog .blog-details h2 {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.blog .date .blog-number {
    color: #fff;
    display: block;
    font-size: 24px;
    text-align: center;
}                    
                                    

Similar snippets

Bootstrap snippet bs4 blog post with image hover

bs4 blog post with image hover

View

Bootstrap snippet card chat list

card chat list

View

Bootstrap snippet bs4 user card task list

bs4 user card task list

View

About this snippet

Creator: Dey Dey

Bootstrap version: 3.2.0

Created: Jul 31st 2014, 18:51

Views: 5.2K

Rated 5/5 based on 3 reviews