Last active
June 1, 2019 17:59
-
-
Save jasontcrabtree/027b7a17ceb2ac650c10be22fca8b3b2 to your computer and use it in GitHub Desktop.
Creating Size Utility Variables
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 { | |
/* An 8px variable */ | |
--utility-8: 8px; | |
/* An 24px variable */ | |
--utility-24: 24px; | |
/* Creating an 'auto' size variable */ | |
--utility-auto: auto; | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment