2 ms·
The interesting part is that CSS variables are inherited unlike in SCSS/SASS. That means you'll have to assign all your variables to ancestor nodes if you want
by Timmy_C 14y ago
The interesting part is that CSS variables are inherited unlike in SCSS/SASS. That means you'll have to assign all your variables to ancestor nodes if you want to reuse them everywhere on the page.
I can see the `:root` selector getting pretty crowded with variable declarations.