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 4.5.0 included, to get the result that you can see in the preview selection
Download<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.13.1/css/all.min.css" integrity="sha256-2XFplPlrFClt0bIdPgpz8H7ojnk10H69xRqd9+uTShA=" crossorigin="anonymous" />
<section>
<div class="container">
<div class="text-center mb-5">
<h5 class="text-primary h6">Our Projects</h5>
<h2 class="display-20 display-md-18 display-lg-16">Our latest projects</h2>
</div>
<div class="row">
<div class="col-sm-6 col-lg-3 mb-1-9">
<div class="card-wrapper">
<div class="card-img"><img src="https://www.bootdey.com/image/280x280/FFB6C1/000000" alt="..."></div>
<div class="card-body">
<div>
<h3 class="h5">Kitchen Cleaning</h3>
<p class="display-30">Proin gravida nibh vel velit auctor alique.</p>
<a href="#!" class="read-more">view project</a>
</div>
</div>
</div>
</div>
<div class="col-sm-6 col-lg-3 mb-1-9">
<div class="card-wrapper">
<div class="card-img"><img src="https://www.bootdey.com/image/280x280/6495ED/000000" alt="..."></div>
<div class="card-body">
<div>
<h3 class="h5">Window Cleaning</h3>
<p class="display-30">Gravida proin nibh vel velit auctor alique.</p>
<a href="#!" class="read-more">view project</a>
</div>
</div>
</div>
</div>
<div class="col-sm-6 col-lg-3 mb-1-9">
<div class="card-wrapper">
<div class="card-img"><img src="https://www.bootdey.com/image/280x280/008B8B/000000" alt="..."></div>
<div class="card-body">
<div>
<h3 class="h5">Storage Cleaning</h3>
<p class="display-30">Nibh proin gravida vel velit auctor alique.</p>
<a href="#!" class="read-more">view project</a>
</div>
</div>
</div>
</div>
<div class="col-sm-6 col-lg-3 mb-1-9">
<div class="card-wrapper">
<div class="card-img"><img src="https://www.bootdey.com/image/280x280/00CED1/000000" alt="..."></div>
<div class="card-body">
<div>
<h3 class="h5">Floor Cleaning</h3>
<p class="display-30">Vel proin gravida nibh velit auctor alique.</p>
<a href="#!" class="read-more">view project</a>
</div>
</div>
</div>
</div>
<div class="col-sm-6 col-lg-3 mb-1-9 mb-lg-0">
<div class="card-wrapper">
<div class="card-img"><img src="https://www.bootdey.com/image/280x280/483D8B/000000" alt="..."></div>
<div class="card-body">
<div>
<h3 class="h5">Office Cleaning</h3>
<p class="display-30">Auctor proin gravida nibh vel velit alique.</p>
<a href="#!" class="read-more">view project</a>
</div>
</div>
</div>
</div>
<div class="col-sm-6 col-lg-3 mb-1-9 mb-lg-0">
<div class="card-wrapper">
<div class="card-img"><img src="https://www.bootdey.com/image/280x280/FF69B4/000000" alt="..."></div>
<div class="card-body">
<div>
<h3 class="h5">Carpet Cleaning</h3>
<p class="display-30">Aliquetenean proin gravida nibh vel velit.</p>
<a href="#!" class="read-more">view project</a>
</div>
</div>
</div>
</div>
<div class="col-sm-6 col-lg-3 mb-1-9 mb-sm-0">
<div class="card-wrapper">
<div class="card-img"><img src="https://www.bootdey.com/image/280x280/87CEFA/000000" alt="..."></div>
<div class="card-body">
<div>
<h3 class="h5">Toilet Cleaning</h3>
<p class="display-30">Nibh auctor proin gravida vel velit aliquet.</p>
<a href="#!" class="read-more">view project</a>
</div>
</div>
</div>
</div>
<div class="col-sm-6 col-lg-3">
<div class="card-wrapper">
<div class="card-img"><img src="https://www.bootdey.com/image/280x280/20B2AA/000000" alt="..."></div>
<div class="card-body">
<div>
<h3 class="h5">Glass Cleaning</h3>
<p class="display-30">Gravida aliquetenean proin nibh vel velit.</p>
<a href="#!" class="read-more">view project</a>
</div>
</div>
</div>
</div>
</div>
</div>
</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 4.5.0 included, to get the result that you can see in the preview selection
Downloadbody{
background:#eee;
margin-top:20px;}
.card-wrapper {
position: relative;
overflow: hidden;
}
.card-wrapper .card-img {
text-align: center;
position: relative;
overflow: hidden;
transition: all 0.3s ease-out;
}
.card-wrapper .card-img img {
transition: all 0.3s ease-in-out;
border-radius: 0.25rem;
border-radius: 0.25rem;
}
.card-wrapper .card-body {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
visibility: hidden;
padding: 30px;
text-align: center;
display: flex;
align-items: center;
justify-content: center;
border-radius: 0.25rem;
transform: translateX(-100%);
transition: 0.8s;
z-index: 11;
}
.card-wrapper:before {
content: "";
width: 100%;
position: absolute;
height: 100%;
top: 0;
right: 100%;
z-index: 9;
transition: 0.8s;
background: rgba(0, 186, 238, 0.82);
border-radius: 0.25rem;
}
.card-wrapper:hover:before {
right: 0;
}
.card-wrapper h3,
.card-wrapper p {
color: #fff;
}
.card-wrapper .read-more {
color: #fff;
}
.card-wrapper .read-more:after {
color: #fff;
}
.card-wrapper:hover .card-body {
visibility: visible;
transform: translateX(0px);
}
.card-wrapper:hover .backgound-color {
right: 0;
}
.mb-1-9, .my-1-9 {
margin-bottom: 1.9rem;
}
@media (min-width: 992px){
.mb-lg-0, .my-lg-0 {
margin-bottom: 0 !important;
}
}
.read-more:after {
content: '\f0a9';
font-family: Font Awesome\ 5 Free;
font-weight: 600;
padding-left: 8px;
font-weight: 900;
color: #00baee;
vertical-align: middle;
}
About this bootstrap example/template
This example/template, Our latest projects, was published on Sep 18th 2020, 16:29 by Bootdey Admin and it is free.
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 6.9K views, Using this bootstrap snippet you have the following benefits:
Bootstrap 4.5.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 4.5.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