product grid style : demo 4

New

Men's Blazer

$63.50 $75.00
-20%

Men's Tshirt

$9.60 $12.00
New

Women's White Tshirt

$10.50

HTML

                        
New

Men's Blazer

$63.50 $75.00

CSS

(Fonts required: Roboto.)
                        .product-grid{
                            font-family: 'Roboto', sans-serif;
                            text-align: center;
                            position: relative;
                            z-index: 1;
                        }
                        .product-grid:before{
                            content: "";
                            height: 81%;
                            width: 100%;
                            background: #fff;
                            border: 1px solid rgba(0,0,0,0.1);
                            opacity: 0;
                            position: absolute;
                            top: 0;
                            left: 0;
                            z-index: -1;
                            transition: all 0.5s ease 0s;
                        }
                        .product-grid:hover:before{
                            opacity: 1;
                            height: 100%;
                        }
                        .product-grid .product-image{ position: relative; }
                        .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.5s ease-out 0s;
                        }
                        .product-grid:hover .pic-1{ opacity: 0; }
                        .product-grid .pic-2{
                            position: absolute;
                            top: 0;
                            left: 0;
                            opacity: 0;
                            transition: all 0.5s ease-out 0s;
                        }
                        .product-grid:hover .pic-2{ opacity: 1; }
                        .product-grid .social{
                            width: 120px;
                            padding: 0;
                            margin: 0 auto;
                            list-style: none;
                            opacity: 0;
                            position: absolute;
                            right: 0;
                            left: 0;
                            bottom: -23px;
                            transform: scale(0);
                            transition: all 0.3s ease 0s;
                        }
                        .product-grid:hover .social{
                            opacity: 1;
                            transform: scale(1);
                        }
                        .product-grid .social li{ display: inline-block; }
                        .product-grid .social li a{
                            color: #e67e22;
                            background: #fff;
                            font-size: 18px;
                            line-height: 50px;
                            width: 50px;
                            height: 50px;
                            border: 1px solid rgba(0,0,0,0.10);
                            border-radius: 50%;
                            margin: 0 2px;
                            display: block;
                            transition: all 0.3s ease 0s;
                        }
                        .product-grid .social li a:hover{
                            background: #e67e22;
                            color: #fff;
                        }
                        .product-grid .product-new-label,
                        .product-grid .product-discount-label{
                            background-color: #e67e22;
                            color: #fff;
                            font-size: 17px;
                            padding: 2px 10px;
                            position: absolute;
                            right: 10px;
                            top: 10px;
                            transition:all 0.3s;
                        }
                        .product-grid:hover .product-new-label,
                        .product-grid:hover .product-discount-label{ opacity: 0; }
                        .product-grid .product-content{
                            z-index: -1;
                            padding:15px;
                            text-align: left;
                        }
                        .product-grid .title{
                            font-size: 14px;
                            text-transform: capitalize;
                            margin: 0 0 7px;
                            transition: all 0.3s ease 0s;
                        }
                        .product-grid .title a{ color: #414141; }
                        .product-grid:hover .title{ opacity: 0; }
                        .product-grid .price{
                            color: #000;
                            font-size: 16px;
                            letter-spacing: 1px;
                            font-weight: 600;
                            margin-right: 2px;
                            display: inline-block;
                        }
                        .product-grid .price span{
                            color: #909090;
                            font-size: 14px;
                            font-weight: 500;
                            letter-spacing: 0;
                            text-decoration: line-through;
                            text-align: left;
                            display: inline-block;
                            margin-top: -2px;
                        }
                        .product-grid .rating{
                            padding: 0;
                            margin: -22px 0 0;
                            list-style: none;
                            text-align: right;
                            display: block;
                        }
                        .product-grid .rating li{
                            color: #ffd200;
                            font-size: 13px;
                            display: inline-block;
                        }
                        .product-grid .rating li.disable{ color: #dcdcdc; }
                        @media only screen and (max-width:1200px){
                            .product-grid .rating{ margin: 0; }
                        }
                        @media only screen and (max-width:990px){
                            .product-grid{ margin-bottom: 30px; }
                            .product-grid .rating{ margin: -22px 0 0; }
                        }
                        @media only screen and (max-width:359px){
                            .product-grid .rating{ margin: 0; }
                        }
                    
License Terms