Last active
November 12, 2018 23:23
-
-
Save vviikk/760a288c4e9557d78428df56adf1507b to your computer and use it in GitHub Desktop.
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
/* Increase specificity by specifying the selector twice. */ | |
:root:root { /* makes the properties immutable, cant be reassigned */ | |
--COLOR-PRIMARY: palevioletred; | |
--COLOR-SECONDARY: mediumseagreen; | |
} | |
:root { | |
--COLOR-PRIMARY: blue; /* WON't work as `:root:root` has higher specificity. :) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment