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

Williamson
Web Developer
Steve Thomas
Web Developer
Miranda joy
Web Developer<div class="container"> <div class="row"> <div class="col-md-3 col-sm-6"> <div class="our-team"> <img src="https://fokit.ru/demo/images/our-team/our-team-style-68/img-1.jpg" alt=""/> <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> <li><a href="#" class="fab fa-pinterest"></a></li> </ul> <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"> <img src="https://fokit.ru/demo/images/our-team/our-team-style-68/img-2.jpg" alt=""/> <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> <li><a href="#" class="fab fa-pinterest"></a></li> </ul> <div class="team-content"> <h3 class="title">Kristiana</h3> <span class="post">Web Designer</span> </div> </div> </div> </div> </div>css разметка для реализации блока
.our-team{ overflow: hidden; position: relative; } .our-team:after{ content: ""; width: 100%; height: 100%; background: rgba(43, 193, 234, 0.6); position: absolute; top: -100%; left: 0; opacity: 0; transition: all 0.8s ease 0s; } .our-team:hover:after{ top: 0; opacity: 1; } .our-team img{ width: 100%; height: auto; } .our-team .social{ width: 100%; list-style: none; padding: 0; margin: 0; text-align: center; position: absolute; top: -50%; left: 0; z-index: 1; transform: translateY(-50%) rotate(-12deg); transition: all 0.8s ease 0s; } .our-team:hover .social{ top: 50%; } .our-team .social li{ display: inline-block; } .our-team .social li a{ width: 35px; height: 35px; line-height: 35px; background: #0b579f; font-size: 15px; color: #fff; margin: 0 5px; } .our-team .team-content{ width: 100%; padding: 20px 25px; background: #fff; border-bottom: 3px solid #0b579f; text-transform: uppercase; position: absolute; bottom: 0; left: 0; z-index: 1; } .our-team:hover .team-content{ background: #f9f9f9; } .our-team .team-content:before{ content: ""; width: 100%; border-right: 420px solid #fff; border-top: 60px solid transparent; position: absolute; top: -60px; left: 0; } .our-team:hover .team-content:before{ border-right-color: #f9f9f9; } .our-team .team-content:after{ content: ""; width: 3px; height: 50%; background: #0b579f; position: absolute; top: 50%; left: 0; transform: translateY(-50%); } .our-team .title{ font-size: 18px; color: #333; margin: 0; } .our-team .post{ display: block; font-size: 12px; font-weight: 400; color: #888; margin-top: 3px; } @media only screen and (max-width: 990px){ .our-team{ margin-bottom: 30px; } }