Create a variable in .CSS file for use within that .CSS file

Posted by Clay Nichols on Stack Overflow See other posts from Stack Overflow or by Clay Nichols
Published on 2008-09-06T14:21:25Z Indexed on 2010/04/03 11:43 UTC
Read the original article Hit count: 458

Filed under:
|

We have some "theme colors" that are reused in our CSS sheet.

Is there a way to set a variable and then reuse it?

E.g.,

.css OurColor: Blue

{ H1 color:OurColor; }

© Stack Overflow or respective owner

Related posts about css

Related posts about web-development