CSS Counter Styles

Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

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

Browser compatibility

Desktop Mobile
Chrome Edge Firefox Internet Explorer Opera Safari WebView Android Chrome Android Firefox for Android Opera Android Safari on IOS Samsung Internet
CSS_Counter_Styles
91
91
33
No
77
No
91
91
33
64
No
No
additiveSymbols
91
91
33
No
77
No
91
91
33
64
No
No
fallback
91
91
33
No
77
No
91
91
33
64
No
No
name
91
91
33
No
77
No
91
91
33
64
No
No
negative
91
91
33
No
77
No
91
91
33
64
No
No
pad
91
91
33
No
77
No
91
91
33
64
No
No
prefix
91
91
33
No
77
No
91
91
33
64
No
No
range
91
91
33
No
77
No
91
91
33
64
No
No
speakAs
91
91
33
No
77
No
91
91
33
64
No
No
suffix
91
91
33
No
77
No
91
91
33
64
No
No
symbols
91
91
33
No
77
No
91
91
33
64
No
No
system
91
91
33
No
77
No
91
91
33
64
No
No

BCD tables only load in the browser

See also

© 2005–2021 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/CSS_Counter_Styles