RE: CSS Variables

You can do the second one with $ too:

@var $a px;
@var $b 200;		p { width: $b$a; }	

-----Original Message-----
From: www-style-request@w3.org [mailto:www-style-request@w3.org] On Behalf Of Linss, Peter
Sent: Tuesday, February 08, 2011 10:19 AM
To: L. David Baron
Cc: Tab Atkins Jr.; www-style list
Subject: Re: CSS Variables

What about:
@var $a px;		p { width: 100$a; }
or (I don't see how to do it with the '$' syntax):
@var b 200;		p { width: var(b)px; }

Received on Tuesday, 8 February 2011 18:36:13 UTC