Created
February 26, 2020 16:25
-
-
Save liamgriffin/a259ca5526cfd35d00ef52b07bb50feb to your computer and use it in GitHub Desktop.
A CSS Grid Framework for Shopify Collection Pages | CSS Grid styling
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
.grid-collection { | |
display: grid; | |
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); | |
grid-gap: 1px; | |
margin: 1em; | |
background-color: white; | |
} | |
.grid-product { | |
display: grid; | |
justify-content: center; | |
padding: 10px; | |
color: white; | |
line-height: 1; | |
border-radius: 5px; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment