CSS Counter Styles

Baseline 2023

Newly available

Since September 2023, this feature works across the latest devices and browser versions. This feature might not work in older devices or browsers.

The CSS Counter Styles module allows to define custom counter styles, which can be used for CSS list-marker and generated-content counters.

Interfaces

CSSCounterStyleRule

Represents an @counter-style rule.

Specifications

Specification
CSS Counter Styles Level 3
# the-csscounterstylerule-interface

Browser compatibility

BCD tables only load in the browser

See also