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.0.1 included, to get the result that you can see in the preview selection
Download<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" />
<section id="team" class="our_team section-padding">
<div class="container">
<div class="section-title text-center">
<h1>Meet our expert</h1>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce vitae risus nec dui venenatis dignissim. Aenean vitae metus in augue pretium ultrices.</p>
</div>
<div class="row">
<div class="col-lg-3 col-sm-6 col-xs-12">
<div class="single-team">
<div class="img"><img src="https://bootdey.com/img/Content/avatar/avatar6.png" class="img-fluid" alt=""></div>
<div class="team-content">
<h3>James Clayton</h3>
<p>UI/UX Designer</p>
<ul class="social">
<li><a href="#"><i class="fa fa-facebook-f"></i></a></li>
<li><a href="#"><i class="fa fa-twitter"></i></a></li>
<li><a href="#"><i class="fa fa-linkedin"></i></a></li>
<li><a href="#"><i class="fa fa-instagram"></i></a></li>
</ul>
</div>
</div>
</div>
<!-- END COL -->
<div class="col-lg-3 col-sm-6 col-xs-12">
<div class="single-team">
<div class="img"><img src="https://bootdey.com/img/Content/avatar/avatar1.png" class="img-fluid" alt=""></div>
<div class="team-content">
<h3>James Clayton</h3>
<p>UI/UX Designer</p>
<ul class="social">
<li><a href="#"><i class="fa fa-facebook-f"></i></a></li>
<li><a href="#"><i class="fa fa-twitter"></i></a></li>
<li><a href="#"><i class="fa fa-linkedin"></i></a></li>
<li><a href="#"><i class="fa fa-instagram"></i></a></li>
</ul>
</div>
</div>
</div>
<!-- END COL -->
<div class="col-lg-3 col-sm-6 col-xs-12">
<div class="single-team">
<div class="img"><img src="https://bootdey.com/img/Content/avatar/avatar2.png" class="img-fluid" alt=""></div>
<div class="team-content">
<h3>James Clayton</h3>
<p>UI/UX Designer</p>
<ul class="social">
<li><a href="#"><i class="fa fa-facebook-f"></i></a></li>
<li><a href="#"><i class="fa fa-twitter"></i></a></li>
<li><a href="#"><i class="fa fa-linkedin"></i></a></li>
<li><a href="#"><i class="fa fa-instagram"></i></a></li>
</ul>
</div>
</div>
</div>
<!-- END COL -->
<div class="col-lg-3 col-sm-6 col-xs-12">
<div class="single-team">
<div class="img"><img src="https://bootdey.com/img/Content/avatar/avatar3.png" class="img-fluid" alt=""></div>
<div class="team-content">
<h3>James Clayton</h3>
<p>UI/UX Designer</p>
<ul class="social">
<li><a href="#"><i class="fa fa-facebook-f"></i></a></li>
<li><a href="#"><i class="fa fa-twitter"></i></a></li>
<li><a href="#"><i class="fa fa-linkedin"></i></a></li>
<li><a href="#"><i class="fa fa-instagram"></i></a></li>
</ul>
</div>
</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.0.1 included, to get the result that you can see in the preview selection
Downloadbody{margin-top:20px;}
.single-team {
position: relative;
border-radius: 10px;
}
@media only screen and (max-width:768px) {
.single-team {
margin-bottom: 30px;
}
}
.single-team::before {
content: "";
background: rgba(0, 0, 0, 0.4);
position: absolute;
left: 0;
top: 0;
height: 100%;
width: 100%;
opacity: 0;
transition: 0.3s;
-webkit-transition: 0.3s;
-moz-transition: 0.3s;
-o-transition: 0.3s;
border-radius: 10px;
}
.single-team .img img {
border-radius: 10px;
width: 100%;
}
.single-team .team-content {
text-align: center;
position: absolute;
left: 10px;
right: 10px;
bottom: 20px;
transition: 0.3s;
-webkit-transition: 0.3s;
-moz-transition: 0.3s;
-o-transition: 0.3s;
opacity: 0;
visibility: hidden;
background: #fff;
padding: 20px;
border-radius: 10px;
}
.team-content h3 {
margin: 0px;
font-weight: 600;
font-size: 22px;
margin-bottom: 5px;
}
.team-content p {
font-weight: 500;
font-size: 14px;
}
.single-team .team-content ul.social {
list-style: none;
margin-top: 10px;
}
.single-team .team-content .social li {
display: inline-block;
}
.single-team .team-content .social li a {
display: block;
height: 40px;
width: 40px;
line-height: 40px;
border-radius: 100px;
border: 1px solid #eee;
font-size: 14px;
color: #232434;
-webkit-transition: 0.3s;
-o-transition: 0.3s;
transition: 0.3s;
}
.single-team .team-content .social li a:hover {
color: #7564e5;
}
.single-team:hover::before {
opacity: 0.7;
}
.single-team:hover .team-content {
opacity: 1;
visibility: visible;
}
.section-title h1 {
font-size: 44px;
font-weight: 500;
margin-top: 0;
position: relative;
text-transform: capitalize;
margin-bottom: 15px;
}
.section-title p {
padding: 0 10px;
width: 70%;
margin: auto;
letter-spacing: 1px;
}
.section-title {
margin-bottom: 60px;
}
.text-center {
text-align: center!important;
}

About this bootstrap example/template
This example/template, team images with hover options, was published on Jun 10th 2021, 17:45 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 332 views, Using this bootstrap snippet you have the following benefits:
Bootstrap 5.0.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 5.0.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