The CSS properties and values API module defines a method for registering new CSS properties, defining the property's data type, inheritance behavior, and, optionally, an initial value.
This API expands on CSS custom properties for cascading variables module, which allows authors to define custom properties in CSS using two dash syntax (--).
The CSS properties and values API is part of the CSS Houdini umbrella of APIs....CSSStyleValue CSS scoping Using shadow DOM CSS Typed Object Model API CSS...scoping module Using shadow DOM CSS Painting API module Worklet...