W3C home > Mailing lists > Public > www-style@w3.org > February 2011

Re: CSS Variables

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Tue, 8 Feb 2011 16:08:10 -0800
Message-ID: <AANLkTinODz2PbtHamiHj9HjRmW4gnWfOss58VBDahT3V@mail.gmail.com>
To: Alan Gresley <alan@css-class.com>
Cc: www-style list <www-style@w3.org>
On Tue, Feb 8, 2011 at 4:00 PM, Alan Gresley <alan@css-class.com> wrote:
> On 9/02/2011 5:31 AM, Tab Atkins Jr. wrote:
>
>> Those both require character-level variables to work as written, which are
>> evil.
>
>
> What about this one.
>
> @var $US;    span:before { content: '$US' }

That just sets the content to the string '$US'.  It doesn't invoke the
variable at all.


> How do we not return the value of foo?

I don't understand what this question means.

~TJ
Received on Wednesday, 9 February 2011 00:09:03 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:37 GMT