Re:CSS Variables in Firefox 31 – new syntax
by ihuman on Wednesday July 23, 2014 @10:08AM
(#8074422)
Does anyone know if the var() function only work with the variables? For example, can I do something like:
[ Parent
| on HN ]
Re:CSS Variables in Firefox 31 – new syntax
by bouncingsoul on Wednesday July 23, 2014 @01:35PM
(#8075658)
In case you didn't know, there's already a special version of the `inherit` keyword for using the color value in other properties:
background-color: currentColor;
Fully supported in all modern browsers. http://devdocs.io/css/color_value#currentColor_keywordDoesn't work.