Css Style Our Team — стиль 62

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

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

Williamson

Web Developer

Kristiana

заговолокer

Steve Thomas

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

<div class="container">
<div class="row">
<div class="col-sm-4">
<div class="our-team">
<div class="pic">
<img src="https://fokit.ru/demo/images/our-team/our-team-style-62/img-1.jpg">
</div>
<h3 class="title">Williamson</h3>
<Span class="post">Web Developer</Span>
<ul class="social">
<li><a href="#" class="fab fa-facebook"></a></li>
<li><a href="#" class="fab fa-twitter"></a></li>
<li><a href="#" class="fab fa-google-plus"></a></li>
</ul>
</div>
</div>

<div class="col-sm-4">
<div class="our-team">
<div class="pic">
<img src="https://fokit.ru/demo/images/our-team/our-team-style-62/img-2.jpg">
</div>
<h3 class="title">Kristiana</h3>
<Span class="post">Web Designer</Span>
<ul class="social">
<li><a href="#" class="fab fa-facebook"></a></li>
<li><a href="#" class="fab fa-twitter"></a></li>
<li><a href="#" class="fab fa-google-plus"></a></li>
</ul>
</div>
</div>
</div>
</div>

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

.our-team{ text-align: center; }
.our-team .pic{
display: inline-block;
border-radius: 50%;
margin-bottom: 20px;
overflow: hidden;
z-index: 1;
position: relative;
}
.our-team .pic:before,
.our-team .pic:after{
content: "";
width: 100%;
height: 100%;
border-radius: 50%;
box-shadow: 100px 0 0 rgba(255, 255, 255, 0.01) inset, 0 100px 0 rgba(255, 255, 255, 0.01) inset, -100px 0 0 rgba(255, 255, 255, 0.01) inset, 0 -100px 0 rgba(255, 255, 255, 0.01) inset;
position: absolute;
top: 0;
left: 0;
transition: all 300ms linear 0s;
}
.our-team .pic:after{
transform: rotate(45deg);
}
.our-team:hover .pic:after,
.our-team:hover .pic:before{
box-shadow: 5px 0 0 rgba(255, 0, 0, 0.5) inset, 0 5px 0 rgba(252, 150, 0, 0.5) inset, -5px 0 0 rgba(0, 255, 0, 0.5) inset, 0 -5px 0 rgba(0, 150, 255, 0.5) inset;
}
.our-team .pic img{
width: 100%;
height: auto;
transform: scale(1);
transition: all 300ms linear 0s;
}
.our-team:hover .pic img{
transform: scale(1.1);
}
.our-team .title{
display: block;
font-size: 20px;
font-weight: 700;
color: #d33f49;
letter-spacing: 1px;
margin: 0 0 5px 0;
}
.our-team .post{
display: block;
font-size: 15px;
color: #333;
text-transform: capitalize;
}
.our-team .social{
padding: 0;
margin: 25px 0 0 0;
list-style: none;
}
.our-team .social li{
display: inline-block;
margin-right: 5px;
}
.our-team .social li a{
display: block;
width: 35px;
height: 35px;
line-height: 35px;
border-radius: 0 15px 0 15px;
background: #d33f49;
font-size: 15px;
color: #fff;
transition: all 300ms linear 0s;
}
.our-team:hover .social li a{
border-radius: 15px 0 15px 0;
background: #eca400;
}
@media only screen and (max-width: 767px){
.our-team{ margin-bottom: 30px; }
}



Теги:
0

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

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