Difference between currentColor & custom properties

Mike Riethmuller / filed under HTML & CSS

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.

Join thousands of product people and get the latest articles and resources from my curation every day or week.