An Interest In:
Web News this Week
- April 2, 2024
- April 1, 2024
- March 31, 2024
- March 30, 2024
- March 29, 2024
- March 28, 2024
- March 27, 2024
March 27, 2019 02:54 pm GMT
Original Link: https://css-tricks.com/breaking-css-custom-properties-out-of-root-might-be-a-good-idea/
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:
Tweet
View Full Article