CSS Counter Styles is a module of CSS that lets you define your own counter styles.

Reference

Properties

At-rules

@counter-style

Guides

Using CSS counters
Describes how to use counters to number any HTML element or to perform complex counting.

Specifications

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

Browser compatibility

@counter-style rule

Update compatibility data on GitHub
DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidEdge MobileFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
Basic supportChrome No support NoEdge ? Firefox Full support 33IE No support NoOpera No support NoSafari No support NoWebView Android No support NoChrome Android ? Edge Mobile ? Firefox Android Full support 33Opera Android No support NoSafari iOS No support NoSamsung Internet Android No support No
additive-symbols
Experimental
Chrome No support NoEdge ? Firefox Full support 33IE No support NoOpera No support NoSafari No support NoWebView Android No support NoChrome Android ? Edge Mobile ? Firefox Android Full support 33Opera Android No support NoSafari iOS No support NoSamsung Internet Android No support No
fallback
Experimental
Chrome No support NoEdge ? Firefox Full support 33IE No support NoOpera No support NoSafari No support NoWebView Android No support NoChrome Android ? Edge Mobile ? Firefox Android Full support 33Opera Android No support NoSafari iOS No support NoSamsung Internet Android No support No
negative
Experimental
Chrome No support NoEdge ? Firefox Full support 33IE No support NoOpera No support NoSafari No support NoWebView Android No support NoChrome Android ? Edge Mobile ? Firefox Android Full support 33Opera Android No support NoSafari iOS No support NoSamsung Internet Android No support No
pad
Experimental
Chrome No support NoEdge ? Firefox Full support 33IE No support NoOpera No support NoSafari No support NoWebView Android No support NoChrome Android ? Edge Mobile ? Firefox Android Full support 33Opera Android No support NoSafari iOS No support NoSamsung Internet Android No support No
prefix
Experimental
Chrome No support NoEdge ? Firefox Full support 33IE No support NoOpera No support NoSafari No support NoWebView Android No support NoChrome Android ? Edge Mobile ? Firefox Android Full support 33Opera Android No support NoSafari iOS No support NoSamsung Internet Android No support No
range
Experimental
Chrome No support NoEdge ? Firefox Full support 33IE No support NoOpera No support NoSafari No support NoWebView Android No support NoChrome Android ? Edge Mobile ? Firefox Android Full support 33Opera Android No support NoSafari iOS No support NoSamsung Internet Android No support No
speak-as
Experimental
Chrome No support NoEdge ? Firefox Full support 33IE No support NoOpera No support NoSafari No support NoWebView Android No support NoChrome Android ? Edge Mobile ? Firefox Android Full support 33Opera Android No support NoSafari iOS No support NoSamsung Internet Android No support No
suffix
Experimental
Chrome No support NoEdge ? Firefox Full support 33IE No support NoOpera No support NoSafari No support NoWebView Android No support NoChrome Android ? Edge Mobile ? Firefox Android Full support 33Opera Android No support NoSafari iOS No support NoSamsung Internet Android No support No
symbols
Experimental
Chrome No support NoEdge ? Firefox Full support 33IE No support NoOpera No support NoSafari No support NoWebView Android No support NoChrome Android ? Edge Mobile ? Firefox Android Full support 33Opera Android No support NoSafari iOS No support NoSamsung Internet Android No support No
system
Experimental
Chrome No support NoEdge ? Firefox Full support 33IE No support NoOpera No support NoSafari No support NoWebView Android No support NoChrome Android ? Edge Mobile ? Firefox Android Full support 33Opera Android No support NoSafari iOS No support NoSamsung Internet Android No support No

Legend

Full support  
Full support
No support  
No support
Compatibility unknown  
Compatibility unknown
Experimental. Expect behavior to change in the future.
Experimental. Expect behavior to change in the future.

counter-increment property

Update compatibility data on GitHub
DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidEdge MobileFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
Basic supportChrome Full support 2Edge ? Firefox Full support 1IE Full support 8Opera Full support 9.2Safari Full support 3WebView Android ? Chrome Android ? Edge Mobile Full support YesFirefox Android ? Opera Android ? Safari iOS ? Samsung Internet Android ?

Legend

Full support  
Full support
Compatibility unknown  
Compatibility unknown

counter-reset property

Update compatibility data on GitHub
DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidEdge MobileFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
Basic supportChrome Full support 2Edge Full support 12Firefox Full support 1IE Full support 8Opera Full support 9.2Safari Full support 3.1WebView Android Full support 2Chrome Android ? Edge Mobile Full support YesFirefox Android Full support 25Opera Android Full support 10Safari iOS Full support 3.2Samsung Internet Android ?

Legend

Full support  
Full support
Compatibility unknown  
Compatibility unknown

Document Tags and Contributors

Contributors to this page: msobanjo, fscholz, mfuji09, mfluehr
Last updated by: msobanjo,