Created
June 26, 2023 18:30
-
-
Save jlozovei/e5e30d0a4dfa7be518e6324a69ca6dab to your computer and use it in GitHub Desktop.
Grid layout using CSS grid
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
:root { | |
--columns: 16; | |
} | |
.grid { | |
grid-template-columns: repeat(var(--columns), [col-start] 1fr); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment