"Image hover overlay effect"
Bootstrap 3.3.0 Snippet by hardiktrivedi

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="//cdnjs.cloudflare.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script>
<!------ Include the above in your HEAD tag ---------->
<div class="container">
<div class="row">
<div class="col-md-12">
<div class="col-md-3 box">
<img src="https://place-hold.it/300x300&text=Hardik%20Trivedi" class="img-responsive">
<div class="detail">
<div class="content">
<h2>Hardik trivedi</h2>
<p>please share comment and like this</p>
</div>
</div>
</div>
<div class="col-md-3 box">
<img src="https://place-hold.it/300x300&text=Hardik%20Trivedi" class="img-responsive">
<div class="detail">
<div class="content">
<h2>Hardik trivedi</h2>
<p>please share comment and like this</p>
</div>
</div>
</div>
<div class="col-md-3 box">
<img src="https://place-hold.it/300x300&text=Hardik%20Trivedi" class="img-responsive">
<div class="detail">
<div class="content">
<h2>Hardik trivedi</h2>
<p>please share comment and like this</p>
</div>
</div>
</div>
<div class="col-md-3 box">
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
body
{
margin: 0;
padding: 0;
background: #262626;
font-family: sans-serif;
}
.container
{
background: #fff;
margin: 70px auto;
}
.row
{
margin-top: 20px;
margin-bottom: 20px;
}
.box
{
position: relative;
overflow: hidden;
margin-bottom: 10px;
}
.box img
{
max-width: 100%;
transition: transform 2s;
}
.box > img:hover
{
transform: scale(1.2);
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Related: See More


Questions / Comments: