Created
July 16, 2015 09:23
-
-
Save MoOx/a34068e2687d43a5c3e9 to your computer and use it in GitHub Desktop.
custom properties allow more than variables, it's true, but this can provide a similar usage
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
selector { | |
prop: value; | |
} |
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 { --registry: value; } | |
selector { | |
prop: var(--registry); | |
} |
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
$registry: value; | |
selector { | |
prop: $registry; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
At the end, as it is, how is this different?