Properties
CSS
counter-reset
The counter-reset property accepts one or more counters, each one optionally followed by an integer which indicates the value reset for every occurrence of an element. The default reset is 0.
CSS2
counter-reset: [ <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-reset: 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 reset |
