Re: [css-variables] Using $foo as the syntax for variables

My two-cents as a front-end developer is that I find the prefixed $variable
syntax much easier to work with. Given that the $ symbol is not used
elsewhere as part of the CSS syntax, it seems like a natural fit for
variables. Referencing a variable as 'color: $red;' reads syntactically
much better than 'color: var(red);'.

Received on Tuesday, 22 May 2012 21:07:29 UTC