Css Style Our Team — стиль 74

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

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

Williamson

Web Developer

Kristiana

Web Developer

Steve Thomas

Web Developer
html разметка для реализации блока

<div class="container">
<div class="row">
<div class="col-md-4 col-sm-6">
<div class="our-team">
<div class="pic">
<img src="https://fokit.ru/demo/images/our-team/our-team-style-74/img-1.jpg">
<ul class="social">
<li><a href="#" class="fab fa-facebook"></a></li>
<li><a href="#" class="fab fa-google-plus"></a></li>
<li><a href="#" class="fab fa-instagram"></a></li>
<li><a href="#" class="fab fa-linkedin"></a></li>
</ul>
</div>
<div class="team-content">
<h3 class="title">Williamson</h3>
<span class="post">Web Developer</span>
</div>
</div>
</div>
<div class="col-md-4 col-sm-6">
<div class="our-team">
<div class="pic">
<img src="https://fokit.ru/demo/images/our-team/our-team-style-74/img-2.jpg">
<ul class="social">
<li><a href="#" class="fab fa-facebook"></a></li>
<li><a href="#" class="fab fa-google-plus"></a></li>
<li><a href="#" class="fab fa-instagram"></a></li>
<li><a href="#" class="fab fa-linkedin"></a></li>
</ul>
</div>
<div class="team-content">
<h3 class="title">Kristiana</h3>
<span class="post">Web Designer</span>
</div>
</div>
</div>
</div>
</div>

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

.our-team{
text-align: center;
transition: all 0.5s ease 0s;
}
.our-team:hover{
box-shadow: 0 15px 10px -10px rgba(0, 0, 0, 0.5), 0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
}
.our-team .pic{
overflow: hidden;
position: relative;
}
.our-team .pic:before,
.our-team .pic:after{
content: "";
width: 200%;
height: 80%;
background: rgba(38,37,37,0.8);
position: absolute;
top: -100%;
left: -4%;
transform: rotate(45deg);
transition: all 0.5s ease 0s;
}
.our-team .pic:after{
background: rgba(8,75,77,0.8);
top: auto;
left: auto;
bottom: -100%;
right: -4%;
}
.our-team:hover .pic:before{ top: 0; }
.our-team:hover .pic:after{ bottom: 0; }
.our-team .pic img{
width: 100%;
height: auto;
}
.our-team .social{
width: 100%;
padding: 0;
margin: 0;
list-style: none;
position: absolute;
bottom: 45%;
left: 0;
opacity: 0;
z-index: 2;
transition: all 0.5s ease 0.3s;
}
.our-team:hover .social{ opacity: 1; }
.our-team .social li{ display: inline-block; }
.our-team .social li a{
display: block;
width: 40px;
height: 40px;
line-height: 40px;
font-size: 20px;
color: #fff;
margin-right: 10px;
position: relative;
transition: all 0.3s ease 0s;
}
.our-team .social li a:after{
content: "";
width: 100%;
height: 100%;
background: #db162f;
border-radius: 0 20px 20px 20px;
position: absolute;
top: 0;
left: 0;
z-index: -1;
transition: all 0.3s ease 0s;
}
.our-team .social li a:hover:after{ transform: rotate(180deg); }
.our-team .team-content{ padding: 20px; }
.our-team .title{
font-size: 22px;
font-weight: 700;
letter-spacing: 2px;
color: #047168;
text-transform: uppercase;
margin-bottom: 7px;
}
.our-team .post{
display: block;
font-size: 17px;
font-weight: 600;
color: #707070;
text-transform: capitalize;
}
@media only screen and (max-width: 990px){
.our-team{ margin-bottom: 30px; }
}



Теги:
0

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

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