![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
|
Suppose there's a specific "theme" color the client wants in a bunch of different elements: h1, h2, some borders, the company name when it's inside the text. And suppose you know that the client is going to be trying out different theme colors, and probably altering which elements take the theme color. Is it possible to define a variable name ("themecolor") once in a CSS, and then use that variable name wherever you need it -- e.g. h1, h2{color: "themecolor";} .box {background: "themecolor";} -- so that you can go from one color scheme to another (and back) by making only a single change? Mary Ellen Doctor Science, MA |
![]() |
| Thread Tools | |
| Display Modes | |
| |