Re: CSS Variables

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 UTC