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

Williamson
Заголовок
Steve Thomas
Graphic Designer<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-71/img-1.jpg"/> <div class="boxContent"> <h3 class="title">Williamson</h3> <span class="post">Web Designer</span> </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-71/img-2.jpg"/> <div class="boxContent"> <h3 class="title">Kristiana</h3> <span class="post">Web Developer</span> </div> </div> </div> </div> </div>css разметка для реализации данного эффекта
.box{ overflow: hidden; position: relative; } .box img{ width: 100%; height: auto; transition: all 0.5s ease 0s; } .box:hover img{ filter: brightness(1.15); } .box .boxContent{ width: 60%; height: 81%; border-radius: 50%; position: absolute; top: 10%; left: 22%; border: 2px solid #fff; text-align: center; overflow: hidden; opacity: 0; transform: translate3d(50%, 50%, 0px); transition: all 0.35s ease 0s; } .box:hover .boxContent{ background: rgba(0, 0, 0, 0.5); box-shadow: 0 0 5px #fff; } .box .title{ font-size: 20px; font-weight: 600; color: #fff; margin: 60px 0 30px; opacity: 0; transform: translate3d(-150%, -400%, 0px); transition: all 0.35s ease 0s; } .box .post{ display: inline-block; font-size: 17px; color: #fff; } .box .post:hover{ text-decoration: none; } .box:hover .boxContent, .box:hover .title, .box .post{ opacity: 1; transform: translate3d(0px, 0px, 0px); } @media only screen and (max-width: 990px){ .box{ margin-bottom: 20px; } } @media only screen and (max-width: 360px){ .box .title{ font-size: 17px; margin: 50px 0 20px; } }