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: 256
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