Created
October 24, 2019 16:11
Add CSS for vanilla JavaScript zoom – https://www.shopify.com/partners/blog/jquery-image-zoom
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
.image-container { | |
display: -ms-grid; | |
display: grid; | |
grid-gap: 30px; | |
-ms-grid-columns: 200px 30px auto; | |
grid-template-columns: 480px auto; | |
} | |
.image-details { | |
position: relative; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment