Web features explorer

Registered custom properties

Newly available since 2024-07-09
Tags: api css

The CSS.registerProperty() static method and the @property CSS at-rule register custom properties for which types and behaviors can be defined. To learn more, see CSS: registerProperty() static method, CSSPropertyRule, CSSPropertyRule: inherits property, CSSPropertyRule: initialValue property, CSSPropertyRule: name property, CSSPropertyRule: syntax property, @property, inherits, initial-value, syntax at MDN.

Compatibility