← Back to release summary

CSS Properties and Values API Level 1 (Houdini)

Category
Houdini
Type
New or changed feature
Status
Enabled by default (Chrome 78)
Intent stage
None

Summary

The CSS Properties and Values API spec defines a registerProperty() function which can be called from JavaScript to register typed and animatable custom CSS properties. This API expands the existing CSS custom properties to improve usability of other Houdini APIs. Being able to animate these and customize inheritance and initial values makes it more useful for custom layout/paint, and having types associated with these allows the typed object mode to work more effectively with custom properties.

Standards & signals

View on chromestatus.com