content logo

Bootstrap Grids:

Bootstrap Product Grids with Left Side Buttons and Hover Effect

Grids have a crucial role in the design of websites. If you like to organize the page of your online shop, look at this post carefully. We have prepared the Bootstrap Product Grids with Left Side Buttons and Hover Effect with an attractive theme. These CSS Product Grid Systems have a white design, and they fit with simple websites. You see the product’s name under the picture on the left side. This Bootstrap Product Grid Code contains a section showing some stars representing the customer’s opinion about that product.

The prices of the products are placed under the right side of the picture in red color. When you place the mouse or select an image, you face an animation effect, and the photo will change smoothly. At the same time, in this HTML Free Product Grid, there are some icons on the left side of the picture in a white field. These icons represent purchase, favorite, and move to the next one. When you select these icons, the color changes to red. This color differentiates the selected sections from others. The CSS Grid with Images is available from the link below.

#

CSS Product Grid Systems

#

Bootstrap Product Grid Code

#

HTML Free Product Grid

#

CSS Grid with Images

<!-- This script got from frontendfreecode.com -->
<div class="container">
    <div class="row">
        <div class="col-md-3 col-sm-6">
            <div class="product-grid">
                <div class="product-image">
                    <a href="#" class="image">
                        <img class="img-1" src="http://frontendfreecode.com/img/Bootstrap-Product-Grid-01.jpg" />
                        <img class="img-2" src="http://frontendfreecode.com/img/Bootstrap-Product-Grid-02.jpg" />
                    </a>
                    <ul class="product-links">
                        <li>
                            <a href="#"><i class="fas fa-shopping-cart"></i></a>
                        </li>
                        <li>
                            <a href="#"><i class="fa fa-heart"></i></a>
                        </li>
                        <li>
                            <a href="#"><i class="fa fa-random"></i></a>
                        </li>
                    </ul>
                </div>
                <div class="product-content">
                    <h3 class="title"><a href="#">Product 01</a></h3>
                    <ul class="rating">
                        <li class="fas fa-star"></li>
                        <li class="fas fa-star"></li>
                        <li class="fas fa-star"></li>
                        <li class="fas fa-star"></li>
                        <li class="far fa-star"></li>
                    </ul>
                    <div class="price">$65.99</div>
                </div>
            </div>
        </div>
        <div class="col-md-3 col-sm-6">
            <div class="product-grid">
                <div class="product-image">
                    <a href="#" class="image">
                        <img class="img-1" src="http://frontendfreecode.com/img/Bootstrap-Product-Grid-03.jpg" />
                        <img class="img-2" src="http://frontendfreecode.com/img/Bootstrap-Product-Grid-04.jpg" />
                    </a>
                    <ul class="product-links">
                        <li>
                            <a href="#"><i class="fas fa-shopping-cart"></i></a>
                        </li>
                        <li>
                            <a href="#"><i class="fa fa-heart"></i></a>
                        </li>
                        <li>
                            <a href="#"><i class="fa fa-random"></i></a>
                        </li>
                    </ul>
                </div>
                <div class="product-content">
                    <h3 class="title"><a href="#">Product 02</a></h3>
                    <ul class="rating">
                        <li class="fas fa-star"></li>
                        <li class="fas fa-star"></li>
                        <li class="fas fa-star"></li>
                        <li class="far fa-star"></li>
                        <li class="far fa-star"></li>
                    </ul>
                    <div class="price">$60.55</div>
                </div>
            </div>
        </div>
        <div class="col-md-3 col-sm-6">
            <div class="product-grid">
                <div class="product-image">
                    <a href="#" class="image">
                        <img class="img-1" src="http://frontendfreecode.com/img/Bootstrap-Product-Grid-05.jpg" />
                        <img class="img-2" src="http://frontendfreecode.com/img/Bootstrap-Product-Grid-06.jpg" />
                    </a>
                    <ul class="product-links">
                        <li>
                            <a href="#"><i class="fas fa-shopping-cart"></i></a>
                        </li>
                        <li>
                            <a href="#"><i class="fa fa-heart"></i></a>
                        </li>
                        <li>
                            <a href="#"><i class="fa fa-random"></i></a>
                        </li>
                    </ul>
                </div>
                <div class="product-content">
                    <h3 class="title"><a href="#">Product 03</a></h3>
                    <ul class="rating">
                        <li class="fas fa-star"></li>
                        <li class="fas fa-star"></li>
                        <li class="fas fa-star"></li>
                        <li class="fas fa-star"></li>
                        <li class="far fa-star"></li>
                    </ul>
                    <div class="price">$77.99</div>
                </div>
            </div>
        </div>
        <div class="col-md-3 col-sm-6">
            <div class="product-grid">
                <div class="product-image">
                    <a href="#" class="image">
                        <img class="img-1" src="http://frontendfreecode.com/img/Bootstrap-Product-Grid-07.jpg" />
                        <img class="img-2" src="http://frontendfreecode.com/img/Bootstrap-Product-Grid-08.jpg" />
                    </a>
                    <ul class="product-links">
                        <li>
                            <a href="#"><i class="fas fa-shopping-cart"></i></a>
                        </li>
                        <li>
                            <a href="#"><i class="fa fa-heart"></i></a>
                        </li>
                        <li>
                            <a href="#"><i class="fa fa-random"></i></a>
                        </li>
                    </ul>
                </div>
                <div class="product-content">
                    <h3 class="title"><a href="#">Product 04</a></h3>
                    <ul class="rating">
                        <li class="fas fa-star"></li>
                        <li class="fas fa-star"></li>
                        <li class="fas fa-star"></li>
                        <li class="far fa-star"></li>
                        <li class="far fa-star"></li>
                    </ul>
                    <div class="price">$55.99</div>
                </div>
            </div>
        </div>
    </div>
</div><a style="font-size: 8pt; text-decoration: none" target="_blank" href="http://frontendfreecode.com">Free Frontend</a>
                                                                            
body {
    margin:20px;
}
.product-grid {
    font-family: "Poppins", sans-serif;
    text-align: center;
}
.product-grid .product-image {
    background: radial-gradient(#fff, #000);
    overflow: hidden;
    position: relative;
    z-index: 1;
}
.product-grid .product-image a.image {
    display: block;
}
.product-grid .product-image img {
    width: 100%;
    height: auto;
}
.product-grid .product-image .img-1 {
    transition: all 0.5s ease 0s;
}
.product-grid:hover .product-image .img-1 {
    opacity: 0;
}
.product-grid .product-image .img-2 {
    width: 100%;
    height: 100%;
    opacity: 0;
    backface-visibility: hidden;
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    transition: all 0.5s ease 0s;
}
.product-grid:hover .product-image .img-2 {
    opacity: 0.7;
}
.product-grid .product-links {
    padding: 0;
    margin: 0;
    list-style: none;
    transform: translateY(-50%);
    position: absolute;
    top: 50%;
    left: 10px;
}
.product-grid .product-links li {
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.3s ease 0s;
}
.product-grid .product-links li:nth-child(2) {
    transition-delay: 0.1s;
}
.product-grid .product-links li:nth-child(3) {
    transition-delay: 0.2s;
}
.product-grid:hover .product-links li {
    opacity: 1;
    transform: translateX(0);
}
.product-grid .product-links li a {
    color: #788090;
    background-color: #fff;
    font-size: 16px;
    line-height: 41px;
    width: 40px;
    height: 40px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    display: block;
    transition: all 0.3s;
}
.product-grid .product-links li a:hover {
    color: #fff;
    background-color: #ff5252;
    text-shadow: 4px 4px 0 rgba(0, 0, 0, 0.2);
}
.product-grid .product-content {
    text-align: left;
    padding: 15px 0;
}
.product-grid .title {
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    margin: 0 0 5px;
}
.product-grid .title a {
    color: #333;
    transition: all 0.3s ease 0s;
}
.product-grid .title a:hover {
    color: #ff5252;
}
.product-grid .rating {
    color: #fbb230;
    font-size: 12px;
    padding: 0;
    margin: 0;
    list-style: none;
    display: inline-block;
}
.product-grid .rating li.far {
    color: #999;
}
.product-grid .price {
    color: #ff5252;
    font-size: 15px;
    font-weight: 700;
    text-align: right;
    width: calc(100% - 87px);
    margin: 0 0 10px;
    display: inline-block;
}
@media screen and (max-width: 990px) {
    .product-grid {
        margin-bottom: 30px;
    }
}
<link rel="stylesheet" href="https://netdna.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css">
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<!-- This script got from frontendfreecode.com -->

<link rel="stylesheet" href="https://netdna.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css">
<style>
body {
    margin:20px;
}
.product-grid {
    font-family: "Poppins", sans-serif;
    text-align: center;
}
.product-grid .product-image {
    background: radial-gradient(#fff, #000);
    overflow: hidden;
    position: relative;
    z-index: 1;
}
.product-grid .product-image a.image {
    display: block;
}
.product-grid .product-image img {
    width: 100%;
    height: auto;
}
.product-grid .product-image .img-1 {
    transition: all 0.5s ease 0s;
}
.product-grid:hover .product-image .img-1 {
    opacity: 0;
}
.product-grid .product-image .img-2 {
    width: 100%;
    height: 100%;
    opacity: 0;
    backface-visibility: hidden;
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    transition: all 0.5s ease 0s;
}
.product-grid:hover .product-image .img-2 {
    opacity: 0.7;
}
.product-grid .product-links {
    padding: 0;
    margin: 0;
    list-style: none;
    transform: translateY(-50%);
    position: absolute;
    top: 50%;
    left: 10px;
}
.product-grid .product-links li {
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.3s ease 0s;
}
.product-grid .product-links li:nth-child(2) {
    transition-delay: 0.1s;
}
.product-grid .product-links li:nth-child(3) {
    transition-delay: 0.2s;
}
.product-grid:hover .product-links li {
    opacity: 1;
    transform: translateX(0);
}
.product-grid .product-links li a {
    color: #788090;
    background-color: #fff;
    font-size: 16px;
    line-height: 41px;
    width: 40px;
    height: 40px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    display: block;
    transition: all 0.3s;
}
.product-grid .product-links li a:hover {
    color: #fff;
    background-color: #ff5252;
    text-shadow: 4px 4px 0 rgba(0, 0, 0, 0.2);
}
.product-grid .product-content {
    text-align: left;
    padding: 15px 0;
}
.product-grid .title {
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    margin: 0 0 5px;
}
.product-grid .title a {
    color: #333;
    transition: all 0.3s ease 0s;
}
.product-grid .title a:hover {
    color: #ff5252;
}
.product-grid .rating {
    color: #fbb230;
    font-size: 12px;
    padding: 0;
    margin: 0;
    list-style: none;
    display: inline-block;
}
.product-grid .rating li.far {
    color: #999;
}
.product-grid .price {
    color: #ff5252;
    font-size: 15px;
    font-weight: 700;
    text-align: right;
    width: calc(100% - 87px);
    margin: 0 0 10px;
    display: inline-block;
}
@media screen and (max-width: 990px) {
    .product-grid {
        margin-bottom: 30px;
    }
}
</style>

</head>
<body>
<div class="container">
    <div class="row">
        <div class="col-md-3 col-sm-6">
            <div class="product-grid">
                <div class="product-image">
                    <a href="#" class="image">
                        <img class="img-1" src="http://frontendfreecode.com/img/Bootstrap-Product-Grid-01.jpg" />
                        <img class="img-2" src="http://frontendfreecode.com/img/Bootstrap-Product-Grid-02.jpg" />
                    </a>
                    <ul class="product-links">
                        <li>
                            <a href="#"><i class="fas fa-shopping-cart"></i></a>
                        </li>
                        <li>
                            <a href="#"><i class="fa fa-heart"></i></a>
                        </li>
                        <li>
                            <a href="#"><i class="fa fa-random"></i></a>
                        </li>
                    </ul>
                </div>
                <div class="product-content">
                    <h3 class="title"><a href="#">Product 01</a></h3>
                    <ul class="rating">
                        <li class="fas fa-star"></li>
                        <li class="fas fa-star"></li>
                        <li class="fas fa-star"></li>
                        <li class="fas fa-star"></li>
                        <li class="far fa-star"></li>
                    </ul>
                    <div class="price">$65.99</div>
                </div>
            </div>
        </div>
        <div class="col-md-3 col-sm-6">
            <div class="product-grid">
                <div class="product-image">
                    <a href="#" class="image">
                        <img class="img-1" src="http://frontendfreecode.com/img/Bootstrap-Product-Grid-03.jpg" />
                        <img class="img-2" src="http://frontendfreecode.com/img/Bootstrap-Product-Grid-04.jpg" />
                    </a>
                    <ul class="product-links">
                        <li>
                            <a href="#"><i class="fas fa-shopping-cart"></i></a>
                        </li>
                        <li>
                            <a href="#"><i class="fa fa-heart"></i></a>
                        </li>
                        <li>
                            <a href="#"><i class="fa fa-random"></i></a>
                        </li>
                    </ul>
                </div>
                <div class="product-content">
                    <h3 class="title"><a href="#">Product 02</a></h3>
                    <ul class="rating">
                        <li class="fas fa-star"></li>
                        <li class="fas fa-star"></li>
                        <li class="fas fa-star"></li>
                        <li class="far fa-star"></li>
                        <li class="far fa-star"></li>
                    </ul>
                    <div class="price">$60.55</div>
                </div>
            </div>
        </div>
        <div class="col-md-3 col-sm-6">
            <div class="product-grid">
                <div class="product-image">
                    <a href="#" class="image">
                        <img class="img-1" src="http://frontendfreecode.com/img/Bootstrap-Product-Grid-05.jpg" />
                        <img class="img-2" src="http://frontendfreecode.com/img/Bootstrap-Product-Grid-06.jpg" />
                    </a>
                    <ul class="product-links">
                        <li>
                            <a href="#"><i class="fas fa-shopping-cart"></i></a>
                        </li>
                        <li>
                            <a href="#"><i class="fa fa-heart"></i></a>
                        </li>
                        <li>
                            <a href="#"><i class="fa fa-random"></i></a>
                        </li>
                    </ul>
                </div>
                <div class="product-content">
                    <h3 class="title"><a href="#">Product 03</a></h3>
                    <ul class="rating">
                        <li class="fas fa-star"></li>
                        <li class="fas fa-star"></li>
                        <li class="fas fa-star"></li>
                        <li class="fas fa-star"></li>
                        <li class="far fa-star"></li>
                    </ul>
                    <div class="price">$77.99</div>
                </div>
            </div>
        </div>
        <div class="col-md-3 col-sm-6">
            <div class="product-grid">
                <div class="product-image">
                    <a href="#" class="image">
                        <img class="img-1" src="http://frontendfreecode.com/img/Bootstrap-Product-Grid-07.jpg" />
                        <img class="img-2" src="http://frontendfreecode.com/img/Bootstrap-Product-Grid-08.jpg" />
                    </a>
                    <ul class="product-links">
                        <li>
                            <a href="#"><i class="fas fa-shopping-cart"></i></a>
                        </li>
                        <li>
                            <a href="#"><i class="fa fa-heart"></i></a>
                        </li>
                        <li>
                            <a href="#"><i class="fa fa-random"></i></a>
                        </li>
                    </ul>
                </div>
                <div class="product-content">
                    <h3 class="title"><a href="#">Product 04</a></h3>
                    <ul class="rating">
                        <li class="fas fa-star"></li>
                        <li class="fas fa-star"></li>
                        <li class="fas fa-star"></li>
                        <li class="far fa-star"></li>
                        <li class="far fa-star"></li>
                    </ul>
                    <div class="price">$55.99</div>
                </div>
            </div>
        </div>
    </div>
</div><div id="bcl"><a style="font-size:8pt;text-decoration:none;" href="http://www.devanswer.com">Free Frontend</a></div>

</body>
</html>
Preview