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

willimson
заговолокer
Kristiana
Web developer
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-94/img-1.jpg" alt=""/> <div class="box-content"> <div class="content"> <h3 class="title">willimson</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-94/img-2.jpg" alt=""/> <div class="box-content"> <div class="content"> <h3 class="title">Kristiana</h3> <span class="post">Web developer</span> </div> </div> </div> </div> </div> </div>css разметка для реализации данного эффекта
.box{ position: relative; background: #91e360; overflow: hidden; box-shadow: 0 0 5px #a3a3a3; } .box img{ width: 100%; height: auto; transform: scale3d(1.05, 1.05, 1); transition: all 0.35s ease 0s; } .box:hover img{ opacity: 0.6; transform: scale3d(1, 1, 1); } .box .box-content{ width: 100%; height: 100%; position: absolute; top: 0; left: 0; } .box .box-content:before{ content: ""; width: 100%; height: 100%; background: rgba(255, 255, 255, 0.5); position: absolute; top: 0; left: 0; transform: scale3d(1.9, 1.4, 1) rotate3d(0, 0, 1, 45deg) translate3d(0px, -100%, 0px); transition: all 0.6s ease 0s; } .box:hover .box-content:before{ transform: scale3d(1.9, 1.4, 1) rotate3d(0, 0, 1, 45deg) translate3d(0px, 100%, 0px); } .box .content{ width: 100%; text-align: right; border-right: 4px solid #3c3737; padding-right: 20px; margin: 0 0 30px -30px; position: absolute; bottom: 0; opacity: 0; transition: all 0.6s ease 0s; } .box:hover .content{ opacity: 1; } .box .title{ font-size: 20px; color: #3c3737; text-transform: capitalize; margin: 0 0 5px 0; } .box .post{ font-size: 14px; color: #3c3737; text-transform: capitalize; } @media only screen and (max-width:990px){ .box{ margin-bottom: 30px; } }