Created
April 22, 2014 14:36
-
-
Save jillmugge/11181620 to your computer and use it in GitHub Desktop.
Enlarge Product Images for WooCommerce
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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