Css Variables: An opposing view

A little while back I wrote about a proposal put forward to have variables in CSS (here). Today I came across an essay by Bert Bos titled ‘Why variables in css are considered harmful‘. I can sort of understand his point of view, but I don’t agree with him in this instance.

I do not think that adding basic variable support to CSS is harmful, infact I still strongly believe that this would actually make css easier to write and maintain in the long run. Also the learning curve would be as good as non existant.

Leave a Reply