CSS counter styles

The CSS counter styles module lets you define your own counter styles.

Reference

Properties

Functions

At-rules

Guides

Using CSS counters

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

Specifications

Specification
CSS Counter Styles Level 3
# the-counter-style-rule
CSS Lists and Counters Module Level 3
# increment-set
CSS Lists and Counters Module Level 3
# counter-reset

Browser compatibility

css.at-rules.counter-style

BCD tables only load in the browser

css.properties.counter-increment

BCD tables only load in the browser

css.properties.counter-reset

BCD tables only load in the browser