- From: Andy Rossmeissl <arossmeissl@uwsa.edu>
 - Date: Thu, 29 May 2003 13:45:11 -0500
 - To: www-style@w3.org
 
BG>> What about every other value? Wouldn't it be great to be able to
BG>> declare "variables" at the top of a stylesheet and reference them
BG>> where needed. Color schemes are the example that spring to mind.
Matt> @constants {
Matt> %mycolour%: #ffc;
Matt> %myothercolor%: #cce;
Matt> %mylength: 2em;
Matt> }
Of course when they're declared the %'s should probably be omitted:
@constants {
mybordercolor: #ffc;
myborderstyle: solid;
myborderwidth: 1px;
myborder: %mybordercolor% %myborderstyle% %myborderwidth%
}
-Andy
Received on Thursday, 29 May 2003 14:45:18 UTC