![]() |
VOOZH | about |
The counter-reset property in CSS is used to create or reset the CSS counter for elements. This property works together with the counter-increment property and the content property.
Syntax:
counter-reset = none|name number|initial|inherit;Default Value:
Property Values:
Example 1: This example use counter-reset property to create section.
Output:
Example 2: This example use counter-reset property to create section and subsection.
Output:
Supported Browsers: The browser supported by counter-reset property are listed below: