W3cubDocs

/DOM

CSS Counter Styles

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

Specification Status Comment
CSS Counter Styles Level 3 Candidate Recommendation Initial definition

Browser compatibilityUpdate compatibility data on GitHub

CSSCounterStyleRule interface

Desktop
Chrome Edge Firefox Internet Explorer Opera Safari
Basic support No No 33 No No No
Mobile
Android webview Chrome for Android Edge Mobile Firefox for Android Opera for Android iOS Safari Samsung Internet
Basic support No No No 33 No No ?

See also

© 2005–2018 Mozilla Developer Network and individual 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