Re: [css-variables] Different syntax for variable definition and use

> > > > “var-foo” appears to mean the variable is called “var-foo”; but with
> > > > “var(foo)”, the variable seems to be called “foo".
> > >
> > > I think it's pretty clear:
> >
> > “The hyphen (‐) is a punctuation mark used to join words and to
> > separate syllables of a single word.” [1]
>
> I would like to state that I don't find this line of reasoning particularly
> compelling: The majority of CSS authors are not linguists either... but they
> are intimately familliar with css and with the modularization of CSS

Looking at the spec, the thread, and alternatives I think this is all
a fine mess :P

What is so wrong with

bar { var(foo): 20px; }
baz { margin: var(foo); }

…?

-- 
Jens O. Meiert
http://meiert.com/en/

Received on Thursday, 30 August 2012 05:13:45 UTC