counter-increment
Definition
The counter-increment property is used to increment the count of the counters defined by the functions counter() and counters() of the content property. The screen shot below shows a heading.

The screen shot below shows text inserted via CSS before the heading using a counter.

Example
h2:before {content: 'Chapter ' counter(chapter) ': ';counter-increment: chapter;}
Characteristics
Possible values
- identifier integer
- One or more instances of a counter name followed by the value by which to increment the counter. The value of 1 will be used if a value is not specified.
none- Counter is not incremented.
inherit- Use the same computed value as the parent element for this property.
Default value
none
Applies to
All elements
Inherited
No
See also