product grid style : demo 40

Sale!
Clothing

Men's Blazer

  • (2 review)
$20.30 $28.30
ADD TO CART
Sale!
Clothing

Women's White Top

  • (1 review)
$14.80 $21.10
ADD TO CART
Sale!
Clothing

Men's Jacket

  • (4 review)
$15.50 $23.00
ADD TO CART

HTML

(Icon Fonts Used : Fontawesome & CSS Framwork: Bootstrap)
                        
Sale!
Clothing

Men's Blazer

  • (2 review)
$20.30 $28.30
ADD TO CART
Sale!
Clothing

Women's White Top

  • (1 review)
$14.80 $21.10
ADD TO CART

CSS

(Fonts required : Work Sans)
                        :root{ --main-color: #e74c3c; }
                        .product-grid{
                            font-family: 'Work Sans', sans-serif;
                            border: 1px solid #ebebeb;
                            border-radius: 10px;
                            overflow: hidden;
                            transition: all 0.5s;
                        }
                        .product-grid:hover{ border-color: #c1c1c1; }
                        .product-grid .product-image{ position: relative; }
                        .product-grid .product-image a.image{ display: block; }
                        .product-grid .product-image img{
                            width: 100%;
                            height: auto;
                        }
                        .product-grid .product-sale-label{
                            color: #fff;
                            background: #83b71c;
                            font-size: 12px;
                            font-weight: 500;
                            text-transform: uppercase;
                            padding: 2px 7px;
                            border-radius: 5px;
                            transform: skew(-18deg);
                            position: absolute;
                            left: 10px;
                            top: 10px;
                            transition: all 0.3s;
                        }
                        .product-grid .social{
                            padding: 0;
                            margin: 0;
                            list-style: none;
                            opacity: 0;
                            position: absolute;
                            top: -20px;
                            right: 10px;
                            transition: .4s ease-in-out;
                        }
                        .product-grid:hover .social{
                            opacity: 1;
                            top: 15px;
                        }
                        .product-grid .social li a{
                            color: var(--main-color);
                            background: #fff;
                            font-size: 16px;
                            text-align: center;
                            line-height: 40px;
                            height: 40px;
                            width: 40px;
                            margin: 0 0 10px;
                            border-radius: 50%;
                            display: block;
                            position: relative;
                            z-index: 1;
                            transition: .4s ease-in-out;
                        }
                        .product-grid .social li a:hover{
                            color: #fff;
                            background: var(--main-color);
                        }
                        .product-grid .social li a:before,
                        .product-grid .social li a:after{
                            content: attr(data-tip);
                            color: #fff;
                            background: #444;
                            font-size: 12px;
                            line-height: 20px;
                            padding: 5px 10px;
                            white-space: nowrap;
                            display: none;
                            transform: translateY(-50%);
                            position: absolute;
                            right: 53px;
                            top: 50%;
                        }
                        .product-grid .social li a:after{
                            content: '';
                            height: 15px;
                            width: 15px;
                            padding: 0;
                            transform: translateY(-50%) rotate(45deg);
                            right: 50px;
                            z-index: -1;
                        }
                        .product-grid .social li a:hover:before,
                        .product-grid .social li a:hover:after{
                            display: block;
                        }
                        .product-grid .product-content{
                            padding: 15px 10px;
                            position: relative;
                        }
                        .product-grid .product-category{
                            font-size: 14px;
                            text-transform:uppercase;
                            margin-bottom: 5px;
                            display: block;
                        }
                        .product-grid .product-category a{
                            color: #999;
                            transition: all .4s ease 0s;
                        }
                        .product-grid .product-category a:hover{ color: var(--main-color); }
                        .product-grid .title{
                            font-size: 18px;
                            text-transform: capitalize;
                            margin: 0 0 7px;
                            display: block;
                        }
                        .product-grid .title a{
                            color: #444;
                            transition: all .4s ease 0s;
                        }
                        .product-grid .title a:hover{ color: var(--main-color); }
                        .product-grid .rating{
                            padding: 0;
                            margin: 0 0 7px;
                            list-style: none;
                        }
                        .product-grid .rating li{
                            color: #ffd200;
                            font-size: 12px;
                            display: inline-block;
                        }
                        .product-grid .rating li:last-child{ color: #999; }
                        .product-grid .rating li.disable{ color: #999; }
                        .product-grid:hover .rating{ opacity: 0; }
                        .product-grid .price{
                            color: var(--main-color);
                            font-size: 18px;
                            font-weight: 600;
                            opacity: 1;
                            transition: .3s ease;
                        }
                        .product-grid .price span{
                            color: #999;
                            font-size: 15px;
                            font-weight: 400;
                            text-decoration: line-through;
                            margin-left: 5px;
                        }
                        .product-grid:hover .price{ opacity: 0; }
                        .product-grid .add-to-cart{
                            color: #fff;
                            background: var(--main-color);
                            font-size: 14px;
                            font-weight: 600;
                            padding: 8px 15px;
                            border-radius: 50px;
                            opacity: 0;
                            position: absolute;
                            bottom: 6px;
                            left: 10px;
                            transition: all 0.3s ease-in-out;
                        }
                        .product-grid .add-to-cart:hover{
                            color: #fff;
                            background: #444;
                        }
                        .product-grid:hover .add-to-cart{
                            opacity: 1;
                            transform: translateY(-16px);
                        }
                        .product-grid .add-to-cart:before,
                        .product-grid .add-to-cart:after{
                            content: attr(data-tip);
                            color: #fff;
                            background: #444;
                            font-size: 12px;
                            line-height: 22px;
                            padding:5px 10px;
                            white-space: nowrap;
                            display:none;
                            transform: translateX(-50%);
                            position: absolute;
                            left: 50%;
                            top: -42px;
                        }
                        .product-grid .add-to-cart:after{
                            content: '';
                            height: 15px;
                            width: 15px;
                            transform: translateX(-50%) rotate(45deg);
                            top: -22px;
                            z-index: -1;
                        }
                        .product-grid .add-to-cart:hover:before,
                        .product-grid .add-to-cart:hover:after{
                            display:block;
                        }
                        @media only screen and (max-width:990px){
                            .product-grid{ margin-bottom: 30px; }
                        }
                    
License Terms