
Подробное описание и демонстрацией работы эффекта наведения под номером №110 для бибилиотеки Bootstrap. Html и CSS код для реализации hover effect как на изображении.
Демонстрация эффекта наведения — стиль 110

Williamson
Заголовок
Kristiana
Web developer
Steve Thomas
Заголовок<div class="container"> <div class="row"> <div class="col-md-4 col-sm-6"> <div class="box"> <img src="https://fokit.ru/demo/images/hover-effect/hover-effect-style-110/img-1.jpg"> <div class="box-content"> <div class="content"> <ul class="social"> <li><a href="#"><i class="fab fa-facebook-f"></i></a></li> <li><a href="#"><i class="fab fa-google-plus"></i></a></li> </ul> <h3 class="title">Williamson</h3> <span class="post">Web Designer</span> </div> </div> </div> </div> <div class="col-md-4 col-sm-6"> <div class="box"> <img src="https://fokit.ru/demo/images/hover-effect/hover-effect-style-110/img-2.jpg"> <div class="box-content"> <div class="content"> <ul class="social"> <li><a href="#"><i class="fab fa-facebook-f"></i></a></li> <li><a href="#"><i class="fab fa-google-plus"></i></a></li> </ul> <h3 class="title">Kristiana</h3> <span class="post">Web developer</span> </div> </div> </div> </div> </div> </div>css разметка для реализации данного эффекта
.box{ overflow: hidden; position: relative; } .box img{ width: 100%; height: auto; } .box .box-content{ width: 100%; height: 100%; position: absolute; top: 0; left: 0; } .box .box-content:before, .box .box-content:after{ content: ""; width: 95%; height: 47%; background: #d83f15; position: absolute; left: 0; right: 0; margin: auto; opacity: 0; transition: all 0.5s ease 0s; } .box .box-content:before{ top: -20%; } .box:hover .box-content:before{ top: 3%; opacity: 0.8; } .box .box-content:after{ bottom: -20%; } .box:hover .box-content:after{ bottom: 3%; opacity: 0.8; } .box .content{ width: 100%; height: 45px; position: absolute; top: 0; left: 0; bottom: 0; right: 0; text-align: center; margin: auto; opacity: 0; transform: rotate(90deg); z-index: 1; transition: all 0.5s ease 0s; } .box:hover .content{ opacity: 1; transform: rotate(0deg); } .box .social{ padding: 0; margin: 0 0 20px 0; list-style: none; } .box .social li{ display: inline-block; margin-right: 10px; } .box .social li a{ display: block; width: 40px; height: 40px; border-radius: 50%; line-height: 40px; background: #fff; font-size: 18px; color: #000; transition: all 0.3s ease 0s; } .box .social li a:hover{ color: #d83f15; } .box .title{ font-size: 22px; font-weight: 700; color: #fff; margin-bottom: 7px; } .box .post{ font-size: 14px; color: #fff; text-transform: capitalize; } @media only screen and (max-width:990px){ .box{ margin-bottom: 30px; } }