Properties
CSS
counter-increment
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.
CSS2
counter-increment: [ <identifier> <integer>? ]+ | none | inherit
| Initial: | none |
| Applies To: | all elements |
| Inherited: | no |
| Percentages: | NA |
| Media: | all |
Note: Doctype is required for Internet Explorer 8+
Values
counter-increment: value;
| Value: | Description: |
| identifier | 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 |
| inherit | Takes the same computed value as the property for the element's parent |
| integer | One or more digits 0-9 |
| none | Counters are not incremented |
