Re:A Vote for CSS Variables
by xutopia on Tuesday March 20, 2012 @10:16AM
(#3729314)
The issue is speed. CSS has to be fast if we want to display pages quickly. An alternative I prefer is lesscss.org or sass-lang.com.
[ Parent
| on HN ]
Re:A Vote for CSS Variables
by woogychuck on Tuesday March 20, 2012 @10:24AM
(#3729358)
I really don't see how this would have a major negative impact on speed. If anything, it will allow CSS files to be smaller reducing the amount of data being downloaded to the client and may actually improve performance.
> The issue is speed.
It makes no difference, these are proposal for constants so it's trivial substitution. Furthermore by avoiding repeating the same value over and over again CSS variables likely reduce the file's size.
Re:A Vote for CSS Variables
by mattmanser on Tuesday March 20, 2012 @10:20AM
(#3729335)
This isn't even close to being an 'issue'.
Unless maybe you are living in the 80s and using a Spectrum 48k?
Speed. Christ.