"hover effect #hover"
Bootstrap 3.3.0 Snippet by SANTANU CHOWDHURY

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script>
<script src="//code.jquery.com/jquery-1.11.1.min.js"></script>
<!------ Include the above in your HEAD tag ---------->
<!-- hover effect 1 -->
<div class="container">
<div class="row">
<div class="col-md-4">
<div class="features1">
<img src="https://picsum.photos/360/280/?image=651">
<div class="box-content">
<img src="http://markobrando.com/gafa/img/loupe.svg">
</div>
</div>
</div>
<div class="col-md-4">
<div class="features1">
<img src="https://picsum.photos/360/280/?image=654">
<div class="box-content">
<img src="http://markobrando.com/gafa/img/loupe.svg">
</div>
</div>
</div>
<div class="col-md-4">
<div class="features1">
<img src="https://picsum.photos/360/280/?image=652">
<div class="box-content">
<img src="http://markobrando.com/gafa/img/loupe.svg">
</div>
</div>
</div>
</div>
</div><!-- /hover effect 1 -->
<br />
<div class="container">
<div class="row">
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
@import url('https://fonts.googleapis.com/css?family=Montserrat:300,300i,400,400i,500,500i,600,600i,700,700i');
body{
font-family: 'Montserrat', sans-serif;
}
h2,h3,h4{
margin: 0px;
}
/* hover effect 1 */
.features1{
position: relative;
overflow: hidden;
margin-top: 15px;
}
.features1 .box-content img{
position: absolute;
width: 50px;
top: 50%;
left: 50%;
-webkit-transform: translate(-50%, -50%);
-ms-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
}
.features1 .box-content{
position: absolute;
top: 15px;
left: 15px;
bottom: 15px;
right: 15px;
background-color: rgba(0, 0, 0, 0.4);
opacity: 0;
-webkit-transition: all .3s;
-moz-transition: all .3s;
-o-transition: all .3s;
transition: all .3s;
}
.features1 .box-content:hover{
opacity: 1;
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Related: See More


Questions / Comments: