a thoughtful web.
Good ideas and conversation. No ads, no tracking.   Login or Take a Tour!
comment by zonk
zonk  ·  3996 days ago  ·  link  ·    ·  parent  ·  post: CSS Variables in Firefox Nightly

That'll save people so much work when you can define all the colors in a header and just work with the variables... I'm a bit jealous of all upcoming webdevs :P

Also I'm curious what people will do with it... upcoming mini games programmed in CSS or something by maninpulating div-containers which act as pixels, hehe





user-inactivated  ·  3996 days ago  ·  link  ·  

devs already have tools like scss which pretty much handle it. this will be nice for modifying things on the fly with the inspector, though

as for your ridiculous pixel idea: no. god no. that's what canvas is for

jroscher  ·  3995 days ago  ·  link  ·  

we've been using scss for over a year now and it works great for these sort of things. and by the nature of a preprocesser, it works across the browsers.

are these css variables in the video in a spec other browsers will support, or are they just going to work for this browser? If so, that's pretty worthless to me.

user-inactivated  ·  3994 days ago  ·  link  ·  

i think chrome supports it as well if you tick a box in about:flags