
News from CSS-Tricks
Top CSS-Tricks News

What You Need to Know About CSS Color Interpolation

San Francisco, California · San FranciscoOne of the newer CSS features that has piqued my interest: the function. And I’ve been closely following it ever since it became Baseline back in May 2024. If you don’t know, the function takes two color arguments: one for light mode and one for dark mode. Hence, the name . It toggles between the two light and dark values based on a user’s preferences. Sara Joy has a wonderful article… SourceSee the Story
Should the CSS light-dark() Function Support More Than Light and Dark Values?
