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
In this article, I am sharing the next evolution of space & cyclic toggles, which allows us to create and apply optional mixins in CSS with the help of custom cascade layers, available today in every browser that supports them.
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.
CSS Custom Properties Beyond the :root · Matthias Ott – User Experience Designer
Matthias Ott is an independent user experience designer and developer from Stuttgart, Germany. Besides design practice he teaches Interface Prototyping at the Muthesius Academy of Fine Arts and Design, Kiel.
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.
Back in July 2020, I got an email from James0x57 (I always try to refer to people by their name, but I think I get the sense they prefer to go by screen name)
How to pass variables from one module into another without import · Issue #3257 · sass/sass
Howdy, this is related, but not identical, to issue #2890. I've read the Stack Overflow response but unfortunately, that's not satisfactory in my case. Fundamentally my goal is this...