counter-reset
Definition
The counter-reset property is used to set to a specific value the count of counters defined by the functions counter() and counters() of the content property.
Example
h2 {counter-reset: section 0)
Characteristics
Possible values
- identifier integer
- One or more instances of a counter name followed by the value to which the counter is to be reset. The value of 0 will be used if no value is specified.
none- Counter is not reset.
inherit- Use the same computed value as the parent element for this property.
Default value
none
Applies to
All elements
Inherited
No
See also