Created
May 12, 2020 06:06
-
-
Save wplit/e28d26765fe70690491df465f9a48c9a to your computer and use it in GitHub Desktop.
single image flip css
This file contains 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
.single-product .woocommerce div.product div.images .woocommerce-product-gallery__wrapper { | |
position: relative; | |
} | |
.single-product .secondary-image { | |
position: absolute; | |
top: 0; | |
left: 0; | |
right: 0; | |
opacity: 0; | |
pointer-events: none; | |
} | |
.single-product .woocommerce-product-gallery__image:hover + .secondary-image { | |
opacity: 1; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment