Re: CSS Variables Draft Proposal

On Fri, Feb 11, 2011 at 8:55 AM, Colt Antonio Pini <Colt.Pini@nau.edu> wrote:
> I may be piping in at the wrong time, or I might be the wrong person to do so. But I just wanted to ask...
>
> What would be wrong with:
>
> @var $foo 'the value';
> Or
> @var $foo "the value";
>
> ?
>
> It seems that may help decide with problems such as @var $foo '/* the value */';

Requiring quotes for ordinary CSS values seems inelegant.  Plus,
strings are a valid type, and having to double up on quotes is ugly:

@var $foo "'a font name'";

~TJ

Received on Friday, 11 February 2011 17:30:10 UTC