Bootstrap slider team section
by Grobbert
HTML
<script src="https://code.jquery.com/jquery-3.4.1.slim.js"></script>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.0/umd/popper.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.js"></script>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.css">
<div class="container">
<div class="row blog">
<h1 class="center mx-auto text-center py-4">Our Team Members</h1>
<div class="col-md-12">
<div id="blogCarousel" class="carousel slide" data-ride="carousel">
<ol class="invisible carousel-indicators">
<li data-target="#blogCarousel" data-slide-to="0" class="active"></li>
<li data-target="#blogCarousel" data-slide-to="1"></li>
</ol>
<!-- Carousel items -->
<div class="carousel-inner">
<div class="carousel-item active">
<div class="row">
<div class="col-lg-3 col-md-6 col-sm-6">
<div class="our-team">
<div class="pic">
<img src="https://i.ibb.co/L8Pj1mg/o6EuTCT6.jpg">
</div>
<div class="team-content">
<h3 class="title">Dana Robins</h3>
<span class="post">Marketing Consultant</span>
</div>
<ul class="social">
<li>
<a href="#" class="fa fa-envelope"></a>
</li>
</ul>
...
CSS
/* TITRE */
h1 {
margin-top: 0;
font-size: 3rem;
display: inline-block;
}
h1 div {
position: relative;
float: left;
}
h1 div:first-child {
color: #3498db;
margin-right: 1rem;
}
/* PROFIL */
.blog .carousel-indicators {
left: 0;
top: auto;
bottom: -40px;
}
/* The colour of the indicators */
.blog .carousel-indicators li {
background: #a3a3a3;
border-radius: 50%;
width: 8px;
height: 8px;
margin-bottom:10px;
}
.blog .carousel-indicators .active {
background: #707070;
margin-bottom:10px;
}
.our-team-section {
position: relative;
padding-top: 40px;
padding-bottom: 40px;
}
.our-team-section:before {
position: absolute;
top: -0;
left: 0;
content: " ";
background: url(img/service-section-bottom.png);
background-size: 100% 100px;
width: 100%;
height: 100px;
float: left;
z-index: 99;
}
.our-team {
padding: 0 0 40px;
background: #f9f9f9;
text-align: center;
overflow: hidden;
position: relative;
border-bottom: 5px solid #00325a;
}
.our-team:hover {
border-bottom: 5px solid #2f2f2f;
}
.our-team .pic {
display: inline-block;
width: 130px;
height: 130px;
margin-bottom: 50px;
z-index: 1;
position: relative;
}
.our-team .pic:before {
content: "";
width: 100%;
height: 100%;
border-radius: 50%;
background: #00325a;
position: absolute;
bottom: 135%;
right: 0;
left: 0;
opacity: 1;
transform: scale(3);
transition: all 0.3s linear 0s;
}
.our-team:hover .pic:before {
height: 100%;
background: #2f2f2f;
}
.our-team .pic:after {
content: "";
width: 100%;
height: 100%;
border-radius: 50%;
background: #ffffff00;
position: absolute;
top: 0;
left: 0;
z-index: 1;
transition: all 0.3s linear 0s;
}
.our-team:hover .pic:after {
background: #145889;
}
.our-team .pic img {
width: 100%;
height: 100%;
border-radius: 50%;
transform: scale(1);
transition: all 0.9s ease 0s;
box-shadow: 0 0 0 14px #f7f5ec;
transform: scale(0.7);
position:...