Css Style Our Team — стиль 37

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

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

Williamson

web developer

Steve Thomas

web developer

Miranda joy

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-37/img-1.jpg">
<ul class="social-links">
<li><a href="#" class="fab fa-twitter"></a></li>
<li><a href="#" class="fab fa-google-plus"></a></li>
<li><a href="#" class="fab fa-linkedin"></a></li>
<li><a href="#" class="fab fa-facebook"></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-3 col-sm-6">
<div class="our-team">
<div class="pic">
<img src="https://fokit.ru/demo/images/our-team/our-team-style-37/img-2.jpg">
<ul class="social-links">
<li><a href="#" class="fab fa-twitter"></a></li>
<li><a href="#" class="fab fa-google-plus"></a></li>
<li><a href="#" class="fab fa-linkedin"></a></li>
<li><a href="#" class="fab fa-facebook"></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;
}
.our-team .pic{
position: relative;
}
.our-team .pic:before{
content: "";
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
background: rgba(0, 0, 0, 0.55);
opacity: 0;
transition: all 0.3s ease 0s;
}
.our-team .pic:after{
content: "";
width: 90%;
height: 90%;
border: 1px solid #f5f5f6;
position: absolute;
top: 5%;
left: 5%;
opacity: 0;
transition: all 0.3s ease 0s;
}
.our-team:hover .pic:before,
.our-team:hover .pic:after{
opacity: 1;
}
.our-team .pic img{
width: 100%;
height: auto;
}
.our-team .social-links{
width: 100%;
list-style: none;
padding: 0;
margin: 0;
position: absolute;
bottom: 40px;
left: 0;
opacity: 0;
z-index: 1;
transition: all 0.3s ease 0s;
}
.our-team:hover .social-links{
opacity: 1;
}
.our-team .social-links li{
display: inline-block;
margin-right: 10px;
}
.our-team .social-links li a{
display: block;
width: 30px;
height: 30px;
line-height: 30px;
border-radius: 50%;
font-size: 15px;
color: #f5f5f6;
border: 1px solid #f5f5f6;
transition: all 0.3s ease 0s;
}
.our-team .social-links li .fa-twitter:hover{
background: #00aced;
border-color: #00aced;
}
.our-team .social-links li .fa-google-plus:hover{
background: #c03c30;
border-color: #c03c30;
}
.our-team .social-links li .fa-linkedin:hover{
background: #0177b5;
border-color: #0177b5;
}
.our-team .social-links li .fa-facebook:hover{
background: #4867aa;
border-color: #4867aa;
}
.our-team .team-content{
padding: 15px 0;
background: #323232;
border-top: 2px solid #d36832;
overflow: hidden;
position: relative;
}
.our-team .team-content:before{
content: "";
width: 100%;
height: 100%;
background: #d36832;
position: absolute;
top: -100%;
left: 0;
transition: all 0.3s ease-out 0s;
}
.our-team:hover .team-content:before{
top: 0;
}
.our-team .title{
font-size: 24px;
color: #04bea8;
margin: 0 0 5px;
text-transform: capitalize;
z-index: 1;
position: relative;
transition: all 0.5s ease 0s;
}
.our-team .post{
display: block;
font-size: 14px;
color: #f5f5f6;
text-transform: capitalize;
z-index: 1;
position: relative;
transition: all 0.5s ease 0s;
}
.our-team:hover .title,
.our-team:hover .post{
color: #fff;
}
@media screen and (max-width: 990px){
.our-team{ margin-bottom: 20px; }
}



Теги:
0

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

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