.product-grid{ font-family: 'Libre Franklin', sans-serif; text-align: center; } .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-grid .title{ font-size: 18px; text-transform: capitalize; margin: 0; box-shadow: 0 1px 1px rgba(0,0,0,0.1); opacity: 0; position: absolute; left: 10px; bottom: 40px; right: 10px; transition: all .4s ease-out; } .product-grid:hover .title{ opacity: 1; bottom: 11px; } .product-grid .title a{ color: #323232; background-color: #fff; padding: 10px 0; display: block; transition: all .4s ease-out; } .product-grid .title a:hover{ color: #ff4064; } .product-grid .product-content{ padding: 5px 12px; text-align: right; position: relative; } .product-grid .social{ padding: 0; margin: 0; list-style: none; position: absolute; top: 5px; left: 0; z-index: 1; transition: all .75s; } .product-grid .social li{ margin: 0 5px 0 0; display: inline-block; opacity: 0; transform: translateY(7px); transition: all 0.3s ease 0s; } .product-grid .social li:nth-child(1){ transition-delay: .2s; } .product-grid .social li:nth-child(2){ transition-delay: .4s; } .product-grid .social li:nth-child(3){ transition-delay: .5s; } .product-grid:hover .social li{ opacity: 1; transform: translateY(0); } .product-grid .social li a{ color: #646464; font-size: 16px; position: relative; transition: all .4s ease-out; } .product-grid .social li a:hover{ color:#ff4064; } .product-grid .social li a:before, .product-grid .social li a:after{ content: attr(data-tip); color: #fff; background-color: #282828; font-size: 12px; line-height: 22px; padding: 2px 8px; white-space: nowrap; display: none; transform: translateX(-50%); position: absolute; left: 50%; top: -37px; } .product-grid .social li a:after{ content: ''; height: 15px; width: 15px; transform: translateX(-50%) rotate(45deg); top: -22px; z-index: -1; } .product-grid .social li a:hover:before, .product-grid .social li a:hover:after{ display: block; } .product-grid .price{ color: #ff4064; font-size: 15px; font-weight: 500; opacity: 0; transform: translateY(7px); transition: all .75s; } .product-grid:hover .price{ opacity: 1; transform: translateY(0); } @media only screen and (max-width:990px){ .product-grid{ margin: 0 0 30px; } }