Hover Effect Style 76

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

Демонстрация эффекта наведения — стиль 77

Williamson

заговолокer

Kristiana

Web Developer

Steve Thomas

Graphic Designer
html разметка для реализации данного эффекта

<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-77/img-1.jpg">
<div class="box-content">
<a href="#" class="read-more"><i class="fa fa-plus"></i></a>
<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-77/img-2.jpg">
<div class="box-content">
<a href="#" class="read-more"><i class="fa fa-plus"></i></a>
<h3 class="title">Kristiana</h3>
<span class="post">Web Developer</span>
</div>
</div>
</div>
</div>
</div>

css разметка для реализации данного эффекта

.box{
position: relative;
overflow: hidden;
}
.box img{
width: 100%;
height: auto;
}
.box .box-content{
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
text-align: center;
color: #fff;
padding: 60px 0;
opacity: 0;
transform: scale(0);
transition: all 0.5s ease 0s;
}
.box:hover .box-content{
opacity: 1;
transform: scale(1);
}
.box .box-content:before{
content: "";
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
background: #ff5e50;
border-radius: 50%;
transform: scale(0);
z-index: -1;
transition: all 0.3s ease 0s;
}
.box:hover .box-content:before{
opacity: 1;
transform: scale(1.5);
}
.box .box-content:after{
content: "";
display: block;
height: 35px;
position: absolute;
top: 167px;
left: 50%;
border-left: 2px solid #18dde7;
margin-left: -1px;
}
.box .read-more{
width: 30px;
height: 30px;
line-height: 27px;
border-radius: 50%;
display: inline-block;
font-size: 18px;
color: #18dde7;
margin: 0 0 10px;
border: 2px solid #18dde7;
}
.box .title{
font-size: 24px;
font-weight: 600;
margin: 0 0 10px;
text-transform: uppercase;
}
.box .post{
display: block;
font-size: 14px;
margin: 0;
text-transform: capitalize;
}
@media only screen and (max-width: 980px){
.box{ margin-bottom: 20px; }
}
@media only screen and (max-width: 479px){
.box .box-content{
padding: 40px 0;
}
.box .box-content:after{
top: 147px;
}
}



Теги:
0

Оставить своё мнение

Ваш e-mail не будет опубликован. Обязательные поля помечены *