product grid style : demo 38

-20%

Women's Button Top

$18.10 $23.40
-25%

Women's Top

$15.00 $20.00
-33%

Men's Shirt

$16.00 $24.00

HTML

(Icon Fonts Used : Fontawesome & CSS Framwork: Bootstrap)
                        
-20%

Women's Button Top

$18.10 $23.40

CSS

(Fonts required : Roboto)
                        :root{ --main-color: #2fad4a; }
                        .product-grid{ font-family: 'Roboto', sans-serif; }
                        .product-grid .product-image{
                            position: relative;
                            overflow: hidden;
                        }
                        .product-grid .product-image a.image{ display: block; }
                        .product-grid .product-image img{
                            width: 100%;
                            height: auto;
                        }
                        .product-image .pic-1{
                            backface-visibility: hidden;
                            transition: all .5s ease;
                        }
                        .product-image .pic-2{
                            width: 100%;
                            height: 100%;
                            backface-visibility: hidden;
                            opacity: 0;
                            transform: scale(0);
                            position: absolute;
                            top: 0;
                            left: 0;
                            transition: all .5s ease;
                        }
                        .product-grid:hover .product-image .pic-2{
                            opacity: 1;
                            transform: scale(1);
                        }
                        .product-grid .product-discount-label{
                            color: #fff;
                            background: var(--main-color);
                            font-size: 12px;
                            font-weight: 500;
                            text-align: center;
                            line-height: 40px;
                            width: 36px;
                            height: 46px;
                            position: absolute;
                            top: 0;
                            right: 20px;
                            -webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 75%, 0 100%);
                            clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 75%, 0 100%);
                        }
                        .product-grid .social{
                            text-align: center;
                            width: 100%;
                            padding: 0;
                            margin: 0;
                            list-style: none;
                            opacity: 0;
                            transform: translateX(-50%) translateY(-50%);
                            position: absolute;
                            top: 40%;
                            left: 50%;
                            transition: all 0.5s ease 0.2s;
                        }
                        .product-grid:hover .social{
                            opacity: 1;
                            top: 50%;
                        }
                        .product-grid .social li{
                            display: inline-block;
                            margin: 0 3px;
                        }
                        .product-grid .social li a{
                            color: #000;
                            background: #fff;
                            font-size: 17px;
                            text-align: center;
                            line-height: 38px;
                            height: 38px;
                            width: 38px;
                            display: block;
                            transition: all .5s;
                        }
                        .product-grid .social li a:hover{
                            color: #fff;
                            background: var(--main-color);
                        }
                        .product-grid .product-content{ padding: 15px 0; }
                        .product-grid .rating{
                            padding: 0;
                            margin: 0 0 5px;
                            list-style: none;
                        }
                        .product-grid .rating li{
                            color: var(--main-color);
                            font-size: 11px;
                            display: inline-block;
                        }
                        .product-grid .rating li.disable{ color:#c7c7c7; }
                        .product-grid .title{
                            font-size: 14px;
                            font-weight: 500;
                            text-transform: capitalize;
                            padding-bottom: 10px;
                            margin: 0 0 10px;
                            border-bottom: 1px solid rgba(0,0,0,0.1);
                        }
                        .product-grid .title a{
                            color: #888;
                            transition: all 0.5s ease-out 0s;
                        }
                        .product-grid .title a:hover{ color: var(--main-color); }
                        .product-grid .price{
                            color: #000;
                            font-size: 14px;
                            font-weight: 700;
                            line-height: 20px;
                        }
                        .product-grid .price span{
                            color: #888;
                            font-weight: 400;
                            margin-left: 2px;
                            text-decoration: line-through;
                            display: inline-block;
                        }
                        @media only screen and (max-width:990px){
                            .product-grid{ margin-bottom: 30px; }
                        }
                    
License Terms