Created
February 28, 2017 00:25
-
-
Save gregwhitworth/352afbab7bc06a7f1b4c14d63606306e to your computer and use it in GitHub Desktop.
custom-props-scoping.css
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
body { | |
--primary: blue; | |
background: var(--primary); | |
} | |
.my-component { | |
--primary: yellow; | |
background: var(--primary); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment