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

desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
CSSCounterStyleRule
additiveSymbols
fallback
name
negative
pad
prefix
range
speakAs
suffix
symbols
system

See also