"shopping Hover Effects Product section bootstrap 4"
Bootstrap 4.1.1 Snippet by Shivamsemisetia

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.1.1/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/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 ---------->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" />
<div class="container">
<h3 class="h3">Demo-1 </h3>
<div class="row">
<div class="col-md-3 col-sm-6">
<div class="product-grid">
<div class="product-image">
<a href="#">
<img class="pic-1" src="https://picsum.photos/200/300">
<img class="pic-2" src="https://picsum.photos/200/300">
</a>
<ul class="social">
<li><a href="" data-tip="Quick View"><i class="fa fa-search"></i></a></li>
<li><a href="" data-tip="Add to Wishlist"><i class="fa fa-shopping-bag"></i></a></li>
<li><a href="" data-tip="Add to Cart"><i class="fa fa-shopping-cart"></i></a></li>
</ul>
<span class="product-new-label">Sale</span>
<span class="product-discount-label">20%</span>
</div>
<ul class="rating">
<li class="fa fa-star"></li>
<li class="fa fa-star"></li>
<li class="fa fa-star"></li>
<li class="fa fa-star"></li>
<li class="fa fa-star disable"></li>
</ul>
<div class="product-content">
<h3 class="title"><a href="#">Women's Blouse</a></h3>
<div class="price">$16.00
<span>$20.00</span>
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
h3.h3 {
text-align: center;
margin: 1em;
text-transform: capitalize;
font-size: 1.7em;
}
/********************* Demo-1 **********************/
.product-grid {
font-family: Raleway, sans-serif;
text-align: center;
padding: 0 0 72px;
border: 1px solid rgba(0, 0, 0, 0.1);
overflow: hidden;
position: relative;
z-index: 1;
}
.product-grid .product-image {
position: relative;
transition: all 0.3s ease 0s;
}
.product-grid .product-image a {
display: block;
}
.product-grid .product-image img {
width: 100%;
height: auto;
}
.product-grid .pic-1 {
opacity: 1;
transition: all 0.3s ease-out 0s;
}
.product-grid:hover .pic-1 {
opacity: 1;
}
.product-grid .pic-2 {
opacity: 0;
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Related: See More


Questions / Comments: