Registered custom properties
Newly available since 2024-07-09
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
- Chrome 85 Released on 2020-08-25
- Chrome Android 85 Released on 2020-08-25
- Edge 85 Released on 2020-08-27
- Firefox 128 Released on 2024-07-09
- Firefox for Android 128 Released on 2024-07-09
- Safari 16.4 Released on 2023-03-27
- Safari on iOS 16.4 Released on 2023-03-27