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

How to conceive a good title to shorten the distance between you and 10W+?

You must have often worried about coming up with ...

How to promote on Bilibili?

Bilibili , a video content community that started...

Why are modular mobile products unreliable?

You may have heard that a modular smartwatch call...

Apple's press conference actually hides a wave of iOS11 traffic dividends

There were many changes mentioned at the Apple co...

District 9 watch online free version, District 9 full movie!

In 1990, a huge spaceship appeared in the sky abo...

This deadly poison is the origin of all life

Before oxygen appeared on Earth, the environment ...

10 ways to master content marketing, get them now!

I once saw an interesting saying: All the ways to...

How much does it cost to produce a Qiqihar game mini program?

Mini programs provide convenience for publicity a...

The 10 most popular growth hacking strategies in China in 2017

Any growth practice starts with small things. In ...

HTML 5 melee: Chrome, Safari, Firefox, IE and Opera each show their strengths

Chrome and Opera are better at supporting the lat...