Created
February 27, 2017 23:30
-
-
Save gregwhitworth/7550a2c4cc3b9b93cb9781287b977ae5 to your computer and use it in GitHub Desktop.
custom-props-feature-detection-2.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
:root { | |
--foo: true; | |
} | |
body { | |
background: red; | |
} | |
@supports(--foo: false) { | |
body { | |
background: green; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment