The counter-increment property accepts one or more counters, each one optionally followed by an integer which indicates the value incremented for every occurrence of an element. The default increment is 1. Zero and negative integers are allowed.



counter-increment: [ <custom-ident> <integer>? ]+ | none | inherit
Initial: none
Applies To: all elements
Inherited: no
Percentages: NA
Media: all


counter-increment: value
Value Initial Description
custom-ident One or more characters a-zA-Z, digits 0-9, hyphen -, or underscore _ and cannot start with a digit or a hyphen followed by a digit
integer One or more digits 0-9
none none Counters are not incremented

DOM = "value";

Example | custom-ident

Example | integer

Example | none

Example | DOM


W3C Cascading Style Sheets Level 2 Revision 1 (CSS 2.1) Specification

W3C CSS Lists and Counters Module Level 3