"Image hover effect with caption CSS3"
Bootstrap 4.0.0 Snippet by dilipkevat1991

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/4.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<!------ Include the above in your HEAD tag ---------->
<!--product-area-left-slide-effect-->
<div class="container" style="margin-top:80px;">
<div class="row">
<div class="col-lg-12">
<h1 class="theme-heading">Image hover effect with caption CSS3 (Left Slide Effect)</h1>
</div>
<!--01-->
<div class="col-lg-4 col-sm-6">
<div class="product-list-left-effect">
<img src="http://placehold.it/600x500/9c27b0/fff" class="img-fluid" />
<div class="product-overlay">
<h3>Product 1</h3>
<p>Cras pharetra lorem a arcu cursus consequat. Vivamus aliquet molestie tellus, porta</p>
</div>
</div>
</div>
<!--01-->
<!--02-->
<div class="col-lg-4 col-sm-6">
<div class="product-list-left-effect">
<img src="http://placehold.it/600x500/4caf50/fff" class="img-fluid" />
<div class="product-overlay">
<h3>Product 2</h3>
<p>Cras pharetra lorem a arcu cursus consequat. Vivamus aliquet molestie tellus, porta</p>
</div>
</div>
</div>
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
/*product-list-hover-slide-effect*/
.product-list-left-effect
{
width:100%;
height:auto;
position:relative;
margin-bottom:20px;
overflow:hidden;
}
.product-list-left-effect img
{
transition-duration:0.4s;
}
.product-list-left-effect .product-overlay
{
width:90%;
height:90%;
position:absolute;
padding:20px;
background:rgba(0, 0, 0, 0.7);
color:#fff;
top:5%;
left:-100%;
transition-duration:0.4s;
-webkit-transition: left 0.5s ease-in-out;
}
.product-list-left-effect .product-overlay h3
{
margin:0 0 12px 0;
}
.product-list-left-effect:hover .product-overlay
{
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Related: See More


Questions / Comments: