define colors as variables in CSS

Posted by patrick on Stack Overflow See other posts from Stack Overflow or by patrick
Published on 2009-12-09T18:30:12Z Indexed on 2010/04/02 21:33 UTC
Read the original article Hit count: 232

Filed under:
|

Hi all,

I'm working CSS file which is quite long. I know the client could ask for changes to the color scheme, and was wondering: is it possible to assign colors to variables so I can just change them to have the new color applied to all elements that use it?

Please note I can't use php to dynamically change the css file.

© Stack Overflow or respective owner

Related posts about css

Related posts about variables