Registered custom properties
Newly Available (since 2024-07-09)
Expected to be Widely Available on 2027-01-09
The CSS.registerProperty() static method and the @property CSS at-rule register custom properties for which types and behaviors can be defined.
Browser support
- 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
MDN documentation
Specifications
Usage (according to Chrome Platform Status)
~16.979% of page loads. More data at chromestatus.com.Web Platform Tests (WPT)
View the latest WPT test results for this featureInterop
- Included in Interop 2023
- Included in Interop 2024
View as JSON | Edit this feature | Report an issue | Web-features entry: source, dist