Re:CSS Variables in Firefox 31 – new syntax
by bshimmin on Wednesday July 23, 2014 @09:54AM
(#8074345)
I think this is just a problem of nomenclature. In CSS, a statement such as
comprises a "property" (left) and a "value" (right). The draft W3C proposal allows you to specify a "custom property" and assign a value to it, thus:
You can then reference this elsewhere by saying:
Isn't that just how you use a variable (written as $header-bg-colour) in Sass?
[ Parent
| on HN ]