CSS Custom Properties have been a hot topic for a while now, with tons of great articles about them, from great primers on how they work to creative tutorials to do some real magic with them. If you’ve read more than one or two articles on the topic, then I’m sure you’ve noticed that they start by setting up the custom properties on the
:root about 99% of the time.
While putting custom properties on the
:root is great … Read article “Breaking CSS Custom Properties out of :root Might Be a Good Idea”