Skip to content

Instantly share code, notes, and snippets.

@LeaVerou
Last active October 9, 2023 01:48
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 LeaVerou/9c04034b9a78deaa086ea7d8b3fe941a to your computer and use it in GitHub Desktop.
Save LeaVerou/9c04034b9a78deaa086ea7d8b3fe941a to your computer and use it in GitHub Desktop.
none keyword test
/**
* none keyword test
* Pass: There should be no red, nor any distinct squares
*/
html {
background: red; /* if you see this, the none keyword is not supported */
background: color-mix(in hsl, hsl(80 50% 90%) 0%, hsl(none none 50%));
}
body {
padding: 1em;
background: hsl(80 50% 50%);
}
<!-- content to be placed inside <body>…</body> -->
// alert('Hello world!');
{"view":"split","fontsize":"100","seethrough":"","prefixfree":"1","page":"all"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment