Created
March 14, 2018 15:12
-
-
Save mikesteele/25d104b465c2db558cf46975e6cf3d69 to your computer and use it in GitHub Desktop.
Perfect n-column CSS grid
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 { | |
display: grid; | |
grid-template-columns: repeat(n, 1fr); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment