Css Style Our Team — стиль 76

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

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

Williamson

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">
<img src="https://fokit.ru/demo/images/our-team/our-team-style-76/img-1.jpg">
<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-f"></i></a></li>
<li><a href="#"><i class="fab fa-twitter"></i></a></li>
<li><a href="#"><i class="fab fa-google-plus-g"></i></a></li>
</ul>
</div>
</div>
</div>
<div class="col-md-4 col-sm-6">
<div class="our-team">
<img src="https://fokit.ru/demo/images/our-team/our-team-style-76/img-2.jpg">
<div class="team-content">
<h3 class="title">Kristiana</h3>
<span class="post">Web Designer</span>
<ul class="social">
<li><a href="#"><i class="fab fa-facebook-f"></i></a></li>
<li><a href="#"><i class="fab fa-twitter"></i></a></li>
<li><a href="#"><i class="fab fa-google-plus-g"></i></a></li>
</ul>
</div>
</div>
</div>
</div>
</div>

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

.demo{ background: #e5e5e5; }
.our-team{
border: 2px solid #ff3232;
border-radius: 10px;
text-align: center;
margin: 10px;
z-index: 1;
position: relative;
}
.our-team:before,
.our-team:after{
content: "";
width: 100%;
height: 104%;
background: #ff3232;
position: absolute;
top: 50%;
left: 0;
z-index: -1;
transform: translateY(-50%) scaleX(0.3);
transition: all 0.3s ease 0s;
}
.our-team:after{
width: 106%;
left: 50%;
transform: translate(-50%, -50%) scaleY(0.25);
}
.our-team:hover:before{ transform: translateY(-50%) scaleX(0.7); }
.our-team:hover:after{ transform: translate(-50%, -50%) scaleY(0.7); }
.our-team img{
width: 100%;
height: auto;
border-radius: 10px;
transition: all 0.3s ease 0s;
}
.our-team .team-content{
width: 93%;
padding: 25px 0 10px;
background: #ff4444;
position: absolute;
bottom: 50px;
left: 50%;
opacity: 0;
-webkit-clip-path: polygon(0% 15%, 15% 15%, 15% 0%, 85% 0%, 85% 15%, 100% 15%, 100% 85%, 85% 85%, 85% 100%, 15% 100%, 15% 85%, 0% 85%);
clip-path: polygon(0% 15%, 15% 15%, 15% 0%, 85% 0%, 85% 15%, 100% 15%, 100% 85%, 85% 85%, 85% 100%, 15% 100%, 15% 85%, 0% 85%);
transform: translateX(-50%);
transition: all 0.3s cubic-bezier(0.5, 0.2,0.1,0.9);
}
.our-team:hover .team-content{
bottom: 10px;
opacity: 1;
}
.our-team .title{
font-size: 25px;
font-weight: 600;
color: #fff;
letter-spacing: 1px;
text-transform: capitalize;
margin: 0;
}
.our-team .post{
display: block;
font-size: 16px;
color: #fff;
text-transform: uppercase;
margin-bottom: 10px;
}
.our-team .social{
padding: 0;
margin: 0;
list-style: none;
}
.our-team .social li{
display: inline-block;
margin: 0 5px;
}
.our-team .social li a{
display: block;
width: 35px;
height: 35px;
line-height: 35px;
border-radius: 50%;
background: #fff;
font-size: 20px;
color: #ff3232;
transition: all 0.3s ease 0s;
}
.our-team .social li a:hover{
background: linear-gradient(to bottom,#ff3232, darkred);
box-shadow: 0 0 0 5px rgba(255,255,255,0.3);
color: #fff;
}
@media only screen and (max-width: 990px){
.our-team{ margin-bottom: 30px; }
}



Теги:
0

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

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