News for hackers. Stuff that matters.
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:

  background-color: var(color);?
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_keyword
Re:CSS Variables in Firefox 31 – new syntax by ahoge on Wednesday July 23, 2014 @10:42AM (#8074605)