@property: giving superpowers to CSS variables

Shared by

Una Kravets introduces the Houdini Properties and Values API which is coming to your CSS file in Chromium 85.

An interesting article by Una Kravets and the upcoming @property — CSS variables on steroids.

@property --colorPrimary {
  syntax: '<color>';
  initial-value: magenta;
  inherits: false;

Join the conversation.

Your email address will not be published. Required fields are marked *

All comments posted on '@property: giving superpowers to CSS variables' are held for moderation and only published when on topic and not rude. Get a gold star if you actually read & follow these rules.

You may write comments in Markdown. This is the best way to post any code, inline like `<div>this</div>` or multiline blocks within triple backtick fences (```) with double new lines before and after.

Want to tell me something privately, like pointing out a typo or stuff like that? Contact Me.