Подробное описание и демонстрацией работы эффекта наведения под номером №75 для бибилиотеки Bootstrap. Html и CSS код для реализации hover effect как на изображении.
Демонстрация эффекта наведения — стиль 75
<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-75/img-1.jpg"> <div class="box-content"> <h3 class="title">web designer</h3> <p class="description"> Lorem ipsum dolor sit amet, consectetur adipisicing elit. A aperiam atque earum possimus tempore voluptatum! </p> <a class="read" href="#">Read More</a> </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-75/img-2.jpg"> <div class="box-content"> <h3 class="title">Web Developer</h3> <p class="description"> Lorem ipsum dolor sit amet, consectetur adipisicing elit. A aperiam atque earum possimus tempore voluptatum! </p> <a class="read" href="#">Read More</a> </div> </div> </div> </div> </div>css разметка для реализации данного эффекта
.box{ background: #fff; box-shadow: 0 0 5px #bababa; text-align: center; overflow: hidden; position: relative; } .box img{ width: 100%; height: auto; transition: all 0.4s ease-in-out 0.2s; } .box:hover img{ transform: scale(0); transition-delay: 0s; } .box .box-content{ width: 100%; height: 100%; background: #425770; color: #fff; padding: 30px; position: absolute; top: 0; left: 0; opacity: 0; transform: scale(0) rotate(-180deg); transition: all 0.4s ease-in 0s; } .box:hover .box-content{ opacity: 1; transform: scale(1) rotate(0deg); transition-delay: 0.2s; } .box .title{ font-size: 20px; font-weight: 800; border-bottom: 1px solid #334a65; padding-bottom: 10px; margin-top: 0; text-transform: capitalize; } .box .description{ font-size: 13px; font-style: italic; line-height: 20px; margin-bottom: 30px; } .box .read{ display: inline-block; font-size: 14px; color: #fff; background: #132d4d; padding: 7px 20px; text-transform: capitalize; } @media only screen and (max-width: 990px){ .box{ margin-bottom: 20px; } } @media only screen and (max-width: 479px){ .box .box-content{ padding: 20px; } } @media only screen and (max-width: 359px){ .box .box-content{ padding: 10px; } }