Google Chrome finally supports CSS Variables

Google Chrome finally supports CSS Variables

This article is not about "news", because the W3C has already started working on CSS variables (also known as 'custom properties'). As part of the informal CSS4 standard, Mozilla has supported it as early as Firefox version 29. As for Google, it dates back to early November, when Addy Osmani, one of the company's main developers, announced the first introduction of support for CSS variables in Chrome Canary.

Mozilla recently added support for CSS variables in Firefox 29, and developers can deploy compile-to-CSS languages ​​that have been used for years, such as Sass, LESS, or Stylus, in their CSS code.

Recently, many people have started to migrate to PostCSS, which provides more dynamic expressions when dealing with CSS syntax.

If the W3C wants to catch up, it should first look at what the CSS subset languages ​​can do now, not what you could do with them a few years ago (in this case support for mixins, partials, and more complex operations).

There aren’t many developers writing actual CSS code these days, although there is still a great need for it. W3C is indeed 6-7 years behind on CSS custom properties, but it can still make CSS more powerful.

<<:  Facebook launches new video embed API and Apple Watch/TV SDK

>>:  What exactly is the recently popular VoLTE technology?

Recommend

Can elderly care be more efficient? Bio-radar becomes a new type of "guardian"

Whether it is an accidental fall or forgetting to...

Want to build a brand without a prototype? Stop kidding!

If you are a copywriter, have you received many b...

Introduction to Qinggua Media’s intelligent advertising delivery system!

Introduction to Qinggua Media Intelligent Adverti...

How to design SEM account structure from 0 to 1?

Account structure is a difficult problem for begi...

How to please programmers?

As an operations staff, if my boss told me to go ...

Fruit freedom is difficult now, and it was even more difficult before

This article is excerpted from "The Code of ...

Kang Ge: Build a small money-making machine in 30 days

Kang Ge's resource introduction of "Build...

Dr. Qingma's "Tsinghua Mom Parent Class Three-in-One Parent Class"

Resource introduction of Dr. Qingma's "T...

Website advertising keywords decline and solutions!

Most of the friends who have websites are individ...