Css Style Our Team — стиль 43

Подробное описание и демонстрация работы блока команда для сайта под номером №43 для библиотеки Bootstrap. Html и CSS код для реализации блока our team’a на сайте как на изображении.

Демо блока наша команда — стиль 43

Williamson

web developer

kristina

web developer

Steve Thomas

web developer
html разметка для реализации блока

<div class="container">
<div class="row">
<div class="col-md-3 col-sm-6">
<div class="our-team">
<div class="pic">
<img src="https://fokit.ru/demo/images/our-team/our-team-style-43/img-1.jpg" alt="">
</div>
<div class="team-content">
<h3 class="title">Williamson</h3>
<span class="post">web developer</span>
<ul class="social">
<li><a href="#"><i class="fab fa-facebook"></i></a></li>
<li><a href="#"><i class="fab fa-twitter"></i></a></li>
<li><a href="#"><i class="fab fa-google-plus"></i></a></li>
<li><a href="#"><i class="fab fa-linkedin"></i></a></li>
</ul>
</div>
</div>
</div>

<div class="col-md-3 col-sm-6">
<div class="our-team">
<div class="pic">
<img src="https://fokit.ru/demo/images/our-team/our-team-style-43/img-2.jpg" alt="">
</div>
<div class="team-content">
<h3 class="title">kristina</h3>
<span class="post">Web Designer</span>
<ul class="social">
<li><a href="#"><i class="fab fa-facebook"></i></a></li>
<li><a href="#"><i class="fab fa-twitter"></i></a></li>
<li><a href="#"><i class="fab fa-google-plus"></i></a></li>
<li><a href="#"><i class="fab fa-linkedin"></i></a></li>
</ul>
</div>
</div>
</div>
</div>
</div>

css разметка для реализации блока

.our-team{
text-align: center;
}
.our-team .pic{
padding: 30px 20px 0;
position: relative;
}
.our-team .pic:before,
.our-team .pic:after{
content: "";
width: 100%;
height: 100%;
border-top: 1px solid transparent;
position: absolute;
top: 0;
left: 0;
transform: scale(0, 1);
transition: all 0.4s ease-in-out 0s;
}
.our-team .pic:after{
border: none;
border-left: 1px solid transparent;
border-right: 1px solid transparent;
transform: scale(1, 0);
}
.our-team:hover .pic:before,
.our-team:hover .pic:after{
border-color: #8475c9;
transform: scale(1);
}
.our-team .pic img{
width: 100%;
height: auto;
}
.our-team .team-content{
background: #333;
padding: 20px 0;
color: #fff;
position: relative;
}
.our-team:hover .team-content{
background: #8475c9;
}
.our-team .team-content:before{
content: "+";
width: 20px;
height: 20px;
font-size: 17px;
color: #fff;
background: #333;
position: absolute;
top: -20px;
right: 0;
transition: all 0.3s ease 0s;
}
.our-team:hover .team-content:before{
width: 100%;
background: #8475c9;
color: #8475c9;
}
.our-team .title{
font-size: 18px;
margin: 0 0 8px 0;
text-transform: uppercase;
}
.our-team .post{
display: block;
font-size: 14px;
text-transform: uppercase;
}
.our-team .social{
padding: 0;
list-style: none;
position: absolute;
top: -37px;
left: 0;
right: 0;
margin: auto;
transform: scale(0);
transition: all 0.3s ease 0s;
}
.our-team:hover .social{
transform: scale(1);
}
.our-team .social li{
display: inline-block;
}
.our-team .social li a{
display: block;
width: 35px;
height: 35px;
line-height: 35px;
font-size: 16px;
color: #a0a0a0;
margin-right: 10px;
position: relative;
z-index: 1;
transition: all 0.3s ease 0s;
}
.our-team .social li a:hover{
color: #fff;
}
.our-team .social li a:before{
content: "";
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
background: #fff;
transform: rotate(45deg);
z-index: -1;
transition: all 0.3s ease-in-out 0s;
}
.our-team .social li:hover a:before{
background: #333;
color: #fff;
transform: rotate(-45deg);
}
@media only screen and (max-width: 990px){
.our-team{ margin-bottom: 10px; }
}



Теги:
0

Оставить своё мнение

Ваш e-mail не будет опубликован. Обязательные поля помечены *