Skip to content

Instantly share code, notes, and snippets.

@dperrymorrow
Created May 31, 2016 18:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dperrymorrow/21579c6f5a35cbf2f7338f22c8b28cb5 to your computer and use it in GitHub Desktop.
Save dperrymorrow/21579c6f5a35cbf2f7338f22c8b28cb5 to your computer and use it in GitHub Desktop.
CSS variables test
/**
* CSS variables test
*/
html { background: red }
@supports (--variables: yes) { /* any variable and any value works */
/* Code here will only be applied in CSS variable-supporting UAs */
html {
background: green;
}
}
<!-- content to be placed inside <body>…</body> -->
// alert('Hello world!');
{"view":"split","fontsize":"110","seethrough":"","prefixfree":"1","page":"all"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment