Bootstrap snippet and html example. single blog post card

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,card

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 5.2.0 included, to get the result that you can see in the preview selection

<section id="blog" class="blog_area section-padding">
   <div class="container">			
		<div class="section-title text-center">
			<h2>Fresh News</h2>
			<p>It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout.</p>
		</div>				
		<div class="row text-center">					
			<div class="col-lg-4 col-sm-6 col-xs-12 wow fadeInUp" data-wow-duration="1s" data-wow-delay="0.1s" data-wow-offset="0" style="visibility: visible; animation-duration: 1s; animation-delay: 0.1s; animation-name: fadeInUp;">
				<div class="single_blog">
					<div class="blog-img">
						<img src="https://www.bootdey.com/image/380x280/FF00FF/000000" class="img-fluid" alt="image">
						<a href="blog.html">May 28</a>
					</div>
					<span><a href="blog.html">Development</a></span>
					<h2><a href="blog.html">Fast food is popular because it's convenient</a></h2>
					<a href="blog.html" class="main_btn">Read More</a>
				</div>						
			</div><!-- END COL -->					
			<div class="col-lg-4 col-sm-6 col-xs-12 wow fadeInUp" data-wow-duration="1s" data-wow-delay="0.2s" data-wow-offset="0" style="visibility: visible; animation-duration: 1s; animation-delay: 0.2s; animation-name: fadeInUp;">
				<div class="single_blog">
					<div class="blog-img">
						<img src="https://www.bootdey.com/image/380x280/FF00FF/000000" class="img-fluid" alt="image">
						<a href="blog.html">May 29</a>
					</div>
					<span><a href="blog.html">Technology</a></span>
					<h2><a href="blog.html">The incredible thing about Virtual Reality</a></h2>
					<a href="blog.html" class="main_btn">Read More</a>
				</div>						
			</div><!-- END COL -->					
			<div class="col-lg-4 col-sm-6 col-xs-12 wow fadeInUp" data-wow-duration="1s" data-wow-delay="0.3s" data-wow-offset="0" style="visibility: visible; animation-duration: 1s; animation-delay: 0.3s; animation-name: fadeInUp;">
				<div class="single_blog">
					<div class="blog-img">
						<img src="https://www.bootdey.com/image/380x280/FF00FF/000000" class="img-fluid" alt="image">
						<a href="blog.html">May 30</a>
					</div>
					<span><a href="blog.html">Fashion</a></span>
					<h2><a href="blog.html">For good results must be make good plan </a></h2>
					<a href="blog.html" class="main_btn">Read More</a>
				</div>						
			</div><!-- END COL -->						
		</div><!-- END ROW -->
	</div><!-- END CONTAINER -->
</section>

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 5.2.0 included, to get the result that you can see in the preview selection

body{margin-top:20px;}
.blog_bg{background:#f4f5f7;}
.blog_area{padding-bottom:50px;}
.single_blog {
    background: #fff;
	box-shadow:0 10px 40px -10px rgba(0,64,128,.2);
	margin-bottom: 30px;
	padding: 30px;
}
@media only screen and (max-width:768px) { 
.single_blog {margin-bottom:30px;}
}
.blog-img{}
.blog-img img{position: relative;}
@media only screen and (max-width:768px) { 
.blog-img img{width:100%;}
}
.blog-img a {
	background: #554c86;
	padding: 7px 15px;
	color: #fff;
	font-weight: 600;
	font-size: 16px;
	width: 90px;
	box-shadow: 0 10px 40px -10px rgba(0,64,128,.2);
	line-height: 20px;
	display: inline-block;
	margin-top: 20px;
}
.single_blog h2 {
	font-weight: 700;
	line-height: 30px;
	font-size: 20px;
	margin-bottom: 0;
}
.single_blog h2 a{color:#1d293e;}
.single_blog h2 a:hover{color:#554c86;}
.single_blog span {
	text-transform: capitalize;
	padding: 0 10px;
	margin-bottom: 15px;
	display: inline-block;
	font-weight: 600;
	margin-top: 20px;
}
.single_blog span a{color:#554c86;}
.single_blog > a {
	background: #554c86;
	padding: 10px 30px;
	color: #fff;
	display: inline-block;
	margin-top: 20px;
	border-radius: 2px;
	-webkit-transition: 0.3s;
	transition: 0.3s;
}
.single_blog > a:hover{background:#0aa1d6;}
a{
text-decoration:none;    
}

.section-title {
    margin-bottom: 60px;
}
.text-center {
    text-align: center!important;
}

.section-title h2 {
    font-size: 45px;
    font-weight: 600;
    margin-top: 0;
    position: relative;
    text-transform: capitalize;
}

Similar snippets

Bootstrap example and template. Social post

Social post

Bootstrap example and template. Blog user profile

Blog user profile

Bootstrap example and template. User grid

User grid

Bootstrap example and template. user blog widget

user blog widget

Bootstrap example and template. bs5 dark footer

bs5 dark footer

Bootstrap example and template. events card widget

events card widget

Bootstrap example and template. Table user information

Table user information

Bootstrap example and template. meet our lectors

meet our lectors

Bootstrap example and template. single blog post card

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 287 views, Using this bootstrap snippet you have the following benefits:

Bootstrap 5.2.0

<link rel='stylesheet' href='https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css'>

<script src='https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js'></script>

This code example is based on bootstrap 5.2.0 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