The counter-reset property in CSS is used to create or reset the CSS counter for elements. This property works together with counter-increment property and the content property.
The counter-reset property creates or resets one or more CSS counters.
CSS Syntax
counter-reset: none|name number|initial|inherit;
Property Values:
none: It is the default value. This value does not reset the counter.
name number: The value to reset the counter on each occurrence of the element. The default value is 0 if not specified.
initial: It sets the counter-reset property to its default value.
inherit: The element inherits the property from its parent element.