Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
sergiotapia
· 12y ago · 0 comments
Really ugly syntax.
var-* ????
Who thought this would be a good idea?
Comments
[–]
byroot
12y ago
Someone that did not wanted to generate syntax errors in older browsers ?
[–]
intangible
12y ago
It feels like it's a passive aggressive way of giving us the finger (ugly syntax) while giving in to the obvious need for CSS variables we've been asking for since time eternal.
http://www.w3.org/People/Bos/CSS-variables
[–]
thenerdfiles
12y ago
data-*
is for attributes in HTML. It makes sense for CSS properties, syntactically speaking to map these two in terms of prefix-solutions.