Skip to content

Instantly share code, notes, and snippets.

@jillmugge
Created April 22, 2014 14:36
Show Gist options
  • Save jillmugge/11181620 to your computer and use it in GitHub Desktop.
Save jillmugge/11181620 to your computer and use it in GitHub Desktop.
Enlarge Product Images for WooCommerce
ul.products img{
-webkit-transition:all .5s ease-out !important; /*Webkit: Scale down image to 0.8x original size*/
-moz-transition:all .5s ease-out !important; /*Mozilla scale version*/
-o-transition:all .5s ease-out !important; /*Opera scale version*/
transition:all .5s ease-out !important;
-webkit-backface-visibility: hidden;
}
img.attachment-shop_catalog.wp-post-image:hover {
-webkit-transform:scale(2); /*Webkit: Scale up image to 1.2x original size*/
-moz-transform:scale(2); /*Mozilla scale version*/
-o-transform:scale(2); /*Opera scale version*/
box-shadow:0px 0px 30px gray; /*CSS3 shadow: 30px blurred shadow all around image*/
-webkit-box-shadow:0px 0px 20px gray !important; /*Safari shadow version*/
-moz-box-shadow:0px 0px 20px gray !important; /*Mozilla shadow version*/
position:relative;
z-index:50;
}
#builder-module-52334ce3d6a5d-outer-wrapper{
overflow:visible !important;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment