"CSS3 Image Hover Effects"
Bootstrap 3.0.0 Snippet by ashokpulyala

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="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//netdna.bootstrapcdn.com/bootstrap/3.0.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 ---------->
<div class="container">
<h1 class="text-center">CSS3 Image Hover Effects</h1>
<div class="col-md-4 center-block">
<div class="section-box-one">
<!---->
<figure>
<h3>Service</h3>
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type</p>
<a href="#" class="btn btn-read">Read More</a>
</figure>
<img src="http://ilovelyhdwallpaper.com/wp-content/uploads/2016/03/WMotors-Fenyr-Super-Sport-Car-Wallpaper.jpg" class="img-responsive"/>
</div>
</div>
<div class="col-md-4 center-block">
<div class="section-box-two">
<!---->
<figure>
<h3>Service</h3>
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type</p>
<a href="#" class="btn btn-read">Read More</a>
</figure>
<img src="http://www.tayloredwebs.co.uk/wp-content/uploads/2016/06/web-design-and-graphic-design-wallpapers.jpg" class="img-responsive"/>
</div>
</div>
<div class="col-md-4 center-block">
<div class="section-box-three">
<!---->
<figure>
<h3>Service</h3>
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type</p>
<a href="#" class="btn btn-read">Read More</a>
</figure>
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
.btn-read {
background: transparent;
border-radius: 0;
border: 1px solid #ffffff;
color: #fff;
}
.section-box-one{
height: 250px;
background: radial-gradient(#6e6e6e,#2f2f2f);
background: -webkit-radial-gradient(#6e6e6e,#2f2f2f);
background: -moz-radial-gradient(#6e6e6e,#2f2f2f);
color: #fff;
position: relative;
overflow:hidden;
}
.section-box-one figure {
position: absolute;
text-align: center;
padding: 19px;
width: 100%;
height: 100%;
}
.section-box-one img{
height: 100%;
position: absolute;
transition: ease-in-out .5s;
-webkit-transition: ease-in-out .5s;
-moz-transition: ease-in-out .5s;
}
.section-box-one:hover img{
transform: translate(100%, -100%);
-webkit-transform: translate(100%, -100%);
-moz-transform: translate(100%, -100%);
}
.section-box-two{
height: 250px;
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Related: See More


Questions / Comments: