CSS · Properties — CSS Lists and Counters
counter-reset
The CSS counter-reset property. Initial value: none. Not inherited.
Syntax
counter-reset: [ <counter-name> <integer>? | <reversed-counter-name> <integer>? ]+ | noneExample
Try it
Notes
Media: all. Applies to: allElements. Computed value: asSpecified.
More in this group
Learn this in the course
Reference pages are the quick answer. The course explains the why, shows the full example and ends with a challenge.