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.1.1 included, to get the result that you can see in the preview selection
Download<div class="container bootdey">
<div class="row flex-row">
<div class="col-md-4 col-sm-6 col-remove">
<div class="widget-image has-shadow">
<div class="contact-card-2">
<div class="cover-bg">
<img src="https://www.bootdey.com/image/350x280/FFB6C1/000000" class="img-fluid" alt="...">
</div>
<div class="widget-body">
<div class="quick-actions hover">
<div class="dropdown">
<button type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" class="dropdown-toggle">
<i class="la la-ellipsis-h"></i>
</button>
<div class="dropdown-menu">
<a href="#" class="dropdown-item remove">
<i class="la la-trash"></i>Delete
</a>
<a href="#" class="dropdown-item">
<i class="la la-edit"></i>Edit
</a>
</div>
</div>
</div>
<div class="cover-image mx-auto">
<img src="https://bootdey.com/img/Content/avatar/avatar1.png" alt="..." class="rounded-circle mx-auto">
</div>
<h4 class="name"><a href="#">Brandon Smith</a></h4>
<div class="job">Designer</div>
<div class="text-center pt-5 pb-3">
<a href="#" class="btn btn-shadow">Profile</a>
<a href="#" class="btn btn-shadow">Message</a>
</div>
</div>
</div>
</div>
</div>
<div class="col-md-4 col-sm-6 col-remove">
<div class="widget-image has-shadow">
<div class="contact-card-2">
<div class="cover-bg">
<img src="https://www.bootdey.com/image/350x280/87CEFA/000000" class="img-fluid" alt="...">
</div>
<div class="widget-body">
<div class="quick-actions hover">
<div class="dropdown">
<button type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" class="dropdown-toggle">
<i class="la la-ellipsis-h"></i>
</button>
<div class="dropdown-menu">
<a href="#" class="dropdown-item remove">
<i class="la la-trash"></i>Delete
</a>
<a href="#" class="dropdown-item">
<i class="la la-edit"></i>Edit
</a>
</div>
</div>
</div>
<div class="cover-image mx-auto">
<img src="https://bootdey.com/img/Content/avatar/avatar2.png" alt="..." class="rounded-circle mx-auto">
</div>
<h4 class="name"><a href="#">Brandon Smith</a></h4>
<div class="job">Designer</div>
<div class="text-center pt-5 pb-3">
<a href="#" class="btn btn-shadow">Profile</a>
<a href="#" class="btn btn-shadow">Message</a>
</div>
</div>
</div>
</div>
</div>
<div class="col-md-4 col-sm-6 col-remove">
<div class="widget-image has-shadow">
<div class="contact-card-2">
<div class="cover-bg">
<img src="https://www.bootdey.com/image/350x280/FF7F50/000000" class="img-fluid" alt="...">
</div>
<div class="widget-body">
<div class="quick-actions hover">
<div class="dropdown">
<button type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" class="dropdown-toggle">
<i class="la la-ellipsis-h"></i>
</button>
<div class="dropdown-menu">
<a href="#" class="dropdown-item remove">
<i class="la la-trash"></i>Delete
</a>
<a href="#" class="dropdown-item">
<i class="la la-edit"></i>Edit
</a>
</div>
</div>
</div>
<div class="cover-image mx-auto">
<img src="https://bootdey.com/img/Content/avatar/avatar3.png" alt="..." class="rounded-circle mx-auto">
</div>
<h4 class="name"><a href="#">Brandon Smith</a></h4>
<div class="job">Designer</div>
<div class="text-center pt-5 pb-3">
<a href="#" class="btn btn-shadow">Profile</a>
<a href="#" class="btn btn-shadow">Message</a>
</div>
</div>
</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 4.1.1 included, to get the result that you can see in the preview selection
Downloadbody{
margin-top:20px;
background:#eee;
}
.has-shadow {
box-shadow: 0 1px 15px 1px rgba(52,40,104,.08);
}
.widget-body {
padding: 1.4rem
}
.flex-row>[class*='col-']>.widget-image {
height: 100%
}
.widget-image:hover .quick-actions.hover {
display: block
}
.rounded-widget .widget-image {
border-radius: 4px
}
.widget-image {
background: #fff;
border-radius: 0;
border: none;
margin-bottom: 30px;
position: relative
}
.contact-card-2 {
margin-top: 0;
position: relative
}
.contact-card-2 .cover-bg {
display: block
}
.contact-card-2 .cover-bg>img {
display: block;
margin-bottom: 0;
transition: all .25s ease-in-out
}
.contact-card-2 .cover-image {
display: block;
position: absolute;
width: 100px;
top: -50px;
left: 0;
right: 0
}
.contact-card-2 .cover-image>img {
display: block;
width: 100px;
border: 6px solid #fff;
transition: all .25s ease-in-out
}
.contact-card-2 .widget-body {
position: relative
}
.contact-card-2 .name {
color: #5d5386;
font-size: 1.4rem;
font-weight: 600;
padding: 0;
margin-top: 3rem;
margin-bottom: 0;
text-decoration: none;
text-align: center
}
.contact-card-2 .job {
color: #aea9c3;
font-size: 1rem;
text-align: center
}
.contact-card-2 .stats {
margin-top: 1.4rem
}
.contact-card-2 .stats .counter {
display: block;
color: #5d5386;
font-size: 1.6rem;
font-weight: 600;
text-align: center
}
.contact-card-2 .stats .text {
color: #aea9c3;
display: block;
text-align: center
}
.contact-card-2 .btn-group {
padding: 2rem 0 1.4rem
}
.contact-card-2 .quick-about {
text-align: center;
margin-top: 1.4rem
}
.contact-card-2 .quick-about h4 {
color: #2c304d;
font-weight: 600;
margin-bottom: .4rem
}
.contact-card-2 .quick-about p {
font-size: .9rem;
margin: 0
}
.contact-card-2 .owl-dots {
float: left;
margin-top: 1.4rem;
text-align: center;
width: 100%
}
.contact-card-2 .owl-dots .owl-dot {
border: 2px solid #aea9c3;
border-radius: 50%;
display: inline-block;
height: 12px;
margin: 0 .3rem;
width: 12px;
transition: all 0.3s ease 0s
}
.contact-card-2 .owl-dots .owl-dot:hover {
border-color: #e76c90
}
.contact-card-2 .owl-dots .owl-dot.active {
border: 2px solid #e76c90
}
.quick-actions.hover {
z-index: 999;
position: absolute;
top: 10px;
right: 20px;
display: none;
}
.quick-actions .dropdown-toggle {
color: #98a8b4;
background: none;
border: none;
padding: 0;
font-size: 1.7rem;
}
.quick-actions .dropdown-menu {
border: none;
min-width: auto;
font-size: 1rem;
border-radius: 4px;
padding: 1.4rem 1.8rem;
text-align: left;
box-shadow: 1px 1px 30px rgba(0,0,0,.15);
}
.quick-actions .dropdown-menu .dropdown-item {
padding: .5rem 0;
}
.quick-actions .dropdown-menu a {
color: #2c304d;
font-weight: 500;
}
.quick-actions .dropdown-menu a i {
font-size: 1.4rem;
vertical-align: -2px;
color: #2c304d;
margin-right: .7rem;
transition: all 0.4s ease;
}
.quick-actions .dropdown-menu .dropdown-item {
padding: .5rem 0;
}
.quick-actions .dropdown-menu a {
color: #2c304d;
font-weight: 500;
}
.contact-card-2 .cover-image {
display: block;
position: absolute;
width: 100px;
top: -50px;
left: 0;
right: 0;
}
.contact-card-2 .name {
color: #5d5386;
font-size: 1.4rem;
font-weight: 600;
padding: 0;
margin-top: 3rem;
margin-bottom: 0;
text-decoration: none;
text-align: center;
}
.btn-gradient-01, .btn-gradient-01 a {
background: #e23f83;
background: linear-gradient(to right,#e23f83 0%,#ea5844 100%);
background-size: 200% auto;
font-weight: 600;
transition: 0.5s;
color: #fff;
border: 0 none;
padding: 12px 20px;
}
.btn-shadow, .btn-shadow a {
color: #5d5386;
background-color: #fff;
border-color: #fff;
box-shadow: 0 1px 15px 1px rgba(52,40,104,.15);
}
About this bootstrap example/template
This example/template, bs4 widget image cards, was published on Jan 29th 2019, 08:20 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 7.7K views, Using this bootstrap snippet you have the following benefits:
Bootstrap 4.1.1
<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.1.1 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