Skip to content

Instantly share code, notes, and snippets.

@jensgro
Forked from LeaVerou/dabblet.css
Created May 31, 2016 15:02
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 jensgro/aa4826d0988fb07ee33117a7e42076dc to your computer and use it in GitHub Desktop.
Save jensgro/aa4826d0988fb07ee33117a7e42076dc 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":"100","seethrough":"","prefixfree":"1","page":"css"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment