/dev/nikc/blog

Kuolleiden purjehduskenkien seura

Dec 8th 2015

Native CSS Variables Are Golden

12:38

If you read Philip Walton’s blogpost Why I’m Excited About Native CSS Variables, you, just like me, would also be, or at least you should be, excited about native CSS Variables.

Until now I have been using postcss-custom-properties, but never before realised how much gold we’re still missing out on when we can’t utilise media queries, inheritance and the cascade in combination with CSS variables.

Native CSS variables today are available only in Firefox. They are under development for Chrome and Chrome Canary has them as an experimental feature1. IE Edge is considering them2. Safari seems to have some interest and is showing recent related work but the feature is absent from the WebKit Feature Status page. Opera is keeping quiet.

The specification is currently at the Candidate Recommendation stage. Make your voice heard and wake up all the browser vendors.

Meta

Pages

Search blog

Latest comments