Hi,
I really like zooming image effect (when you hover over any image) in gamenews template.
How can I do the same with product images in my esport template if it is this possible at all.
img.product-image,
img.browseProductImage {
border: none;
-webkit-transform: scale(1.0);
-moz-transform: scale(1.0);
-ms-transform: scale(1.0);
-o-transform: scale(1.0);
transform: scale(1.0);
-webkit-transform-style: preserve-3d;
-moz-transform-style: preserve-3d;
-ms-transform-style: preserve-3d;
-o-transform-style: preserve-3d;
transform-style: preserve-3d;
-webkit-transition: -webkit-transform 0.15s linear;
-moz-transition: -moz-transform 0.15s linear;
-o-transition: -o-transform 0.15s linear;
transition: transform 0.15s linear;
}
img.product-image:hover,
img.browseProductImage:hover {
-webkit-transform: scale(0.96);
-moz-transform: scale(0.96);
-ms-transform: scale(0.96);
-o-transform: scale(0.96);
transform: scale(0.96);
}
Vaičikonis wrote:Is this possible to have image effect on category view, not one product ?
img.product-image,
img.browseProductImage,
.category img,
img.featuredProductImage {
border: none;
-webkit-transform: scale(1.0);
-moz-transform: scale(1.0);
-ms-transform: scale(1.0);
-o-transform: scale(1.0);
transform: scale(1.0);
-webkit-transform-style: preserve-3d;
-moz-transform-style: preserve-3d;
-ms-transform-style: preserve-3d;
-o-transform-style: preserve-3d;
transform-style: preserve-3d;
-webkit-transition: -webkit-transform 0.15s linear;
-moz-transition: -moz-transform 0.15s linear;
-o-transition: -o-transform 0.15s linear;
transition: transform 0.15s linear;
}
img.product-image:hover,
img.browseProductImage:hover,
.category img:hover,
img.featuredProductImage:hover {
-webkit-transform: scale(0.96);
-moz-transform: scale(0.96);
-ms-transform: scale(0.96);
-o-transform: scale(0.96);
transform: scale(0.96);
}
Seichinha wrote:Please show me your website because the code listed also works on vm category view, so something must be wrong and i need to see it.
img.product-image,
img.browseProductImage,
.category img,
img.featuredProductImage,
.browse-view .product img {
border: none;
-webkit-transform: scale(1.0);
-moz-transform: scale(1.0);
-ms-transform: scale(1.0);
-o-transform: scale(1.0);
transform: scale(1.0);
-webkit-transform-style: preserve-3d;
-moz-transform-style: preserve-3d;
-ms-transform-style: preserve-3d;
-o-transform-style: preserve-3d;
transform-style: preserve-3d;
-webkit-transition: -webkit-transform 0.15s linear;
-moz-transition: -moz-transform 0.15s linear;
-o-transition: -o-transform 0.15s linear;
transition: transform 0.15s linear;
}
img.product-image:hover,
img.browseProductImage:hover,
.category img:hover,
img.featuredProductImage:hover,
.browse-view .product img:hover {
-webkit-transform: scale(0.96);
-moz-transform: scale(0.96);
-ms-transform: scale(0.96);
-o-transform: scale(0.96);
transform: scale(0.96);
}
img.product-image,
img.browseProductImage,
.category img,
img.featuredProductImage,
.browse-view .product img,
.nspImage {
border: none;
-webkit-transform: scale(1.0);
-moz-transform: scale(1.0);
-ms-transform: scale(1.0);
-o-transform: scale(1.0);
transform: scale(1.0);
-webkit-transform-style: preserve-3d;
-moz-transform-style: preserve-3d;
-ms-transform-style: preserve-3d;
-o-transform-style: preserve-3d;
transform-style: preserve-3d;
-webkit-transition: -webkit-transform 0.15s linear;
-moz-transition: -moz-transform 0.15s linear;
-o-transition: -o-transform 0.15s linear;
transition: transform 0.15s linear;
}
img.product-image:hover,
img.browseProductImage:hover,
.category img:hover,
img.featuredProductImage:hover,
.browse-view .product img:hover,
.nspImage:hover {
-webkit-transform: scale(0.96);
-moz-transform: scale(0.96);
-ms-transform: scale(0.96);
-o-transform: scale(0.96);
transform: scale(0.96);
}