CSS Custom Functions are coming … and they are going to be a game changer!
This title could be clearer and more informative.Try out Clickbait Shieldfor free (5 uses left this month).
Chrome is currently prototyping CSS Functions, a new feature that allows for parameterized custom properties. This feature, available for testing in Chrome Canary with the Experimental Web Platform Features flag, has the potential to significantly enhance CSS capabilities by enabling more flexible and conditional styling. One example is the creation of a custom light-dark function to handle different values based on the user's color scheme preference. The exact release date is not yet set.
4 Comments
Sort: