Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
March 27, 2019 02:54 pm GMT

Breaking CSS Custom Properties out of :root Might Be a Good Idea

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 youve read more than one or two articles on the topic, then Im sure youve 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

The post Breaking CSS Custom Properties out of :root Might Be a Good Idea appeared first on CSS-Tricks.


Original Link: https://css-tricks.com/breaking-css-custom-properties-out-of-root-might-be-a-good-idea/

Share this article:    Share on Facebook
View Full Article

CSS Tricks

A Web Design Community curated by Chris Coyier

More About this Source Visit CSS Tricks