4 ms·
WebKit Will Soon Support CSS Variables
- stanleydrew 14y agoThe actual draft spec is here: http://www.w3.org/TR/css-variables/ http://www.w3.org/TR/css-variables/
- Timmy_C 14y agoThe 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.