DRY Switching With CSS Variables: The Difference Of One Declaration | CSS-Tricks
This is the first post of a two-part series that looks into the way CSS variables can be used to make the code for complex layouts and interactions less
CSS variables are very powerful, and they allow to do a lot of interesting things. But there are no native conditionals that we could use in CSS with them. In this article I’ll talk about one of the ways we can fake such conditions with calculations.
Creating A High-Contrast Design System With CSS Custom Properties — Smashing Magazine
Managing our colors can truly help people to access our content. In this article, Brecht de Ruyte takes a deep dive into how we can create a high-contrast system while maintaining a balance between designing something accessible and respecting the look and feel of a brand.
Sometimes, a Billion Laughs Aren't so Funny — Improving CSS Variables in WebKit | Widen Engineering
As part of Widen's commitment to contributing back to the open-source community, we have sponsored work to improve the CSS variables implementation in WebKit...
CSS variables (AKA custom properties) have been supported in web browsers for almost four years. I like to use them depending on the project and the situatio...