Created
February 27, 2025 23:25
-
-
Save LeaVerou/67cfee67e9c0614e9d1c84180637c43a to your computer and use it in GitHub Desktop.
oklab interpolation weirdness
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
/** | |
* oklab interpolation weirdness | |
*/ | |
background: no-repeat 0 / 100% 50%; | |
background-image: linear-gradient(to right, red, blue, aqua, lime, yellow, green), | |
linear-gradient(to right in oklab, red, blue, aqua, lime, yellow, green); | |
background-position: top, bottom; | |
min-height: 100%; |
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
<!-- content to be placed inside <body>…</body> --> |
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
// alert('Hello world!'); |
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
{"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