Posts tagged: “custom properties”
Using CSS Variables Correctly
Custom Properties have the potential to change how we write and think about CSS.
The Difference Between currentColor & Custom Properties
There are some interesting differences between how currentColor and custom properties work. Both are examples of dynamic properties in CSS but how they are resolved differs in some very important ways. I recently came across an example of this that had me scratching my head for a while.