Syntax | selector {counter-reset: value1 value2;}
(OR)
selector {counter-reset: value;}
|
---|---|
Usage | The counter-reset property is used to reset counter values when the associated element occurs. One or more counter names can be specified. Each counter name can optionally be followed by an integer which is used as the reset value. If no integer is specified, the counter will be reset to 0. Counter names cannot be any of the following keywords: none, inherit, or initial. |
Keywords |
|
Applies To | All elements |
Inherited | No |
Initial Value | none |
The counter-reset property is set using a single counter name. |