Skip to content

Instantly share code, notes, and snippets.

@LeaVerou
Last active May 29, 2024 15:59
Show Gist options
  • Save LeaVerou/0b681189c6169c14f7f2779aafab9c66 to your computer and use it in GitHub Desktop.
Save LeaVerou/0b681189c6169c14f7f2779aafab9c66 to your computer and use it in GitHub Desktop.
Relative Color Syntax (RCS) + system colors testcase
/**
* Relative Color Syntax (RCS) + system colors testcase
* Green: PASS Orange: FAIL Red: No RCS support
*/
background: red;
background: oklch(from gold l c h);
background: oklch(from canvas .7 0.2 140);
<!-- content to be placed inside <body>…</body> -->
// alert('Hello world!');
{"view":"split","fontsize":"140","seethrough":"","prefixfree":"1","page":"css"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment