- From: Alex Mogilevsky <alexmog@microsoft.com>
- Date: Tue, 8 Feb 2011 18:35:38 +0000
- To: "Linss, Peter" <peter.linss@hp.com>, "L. David Baron" <dbaron@dbaron.org>
- CC: Tab Atkins Jr. <jackalmage@gmail.com>, www-style list <www-style@w3.org>
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