CSS counter-reset Property
A approach to number areas and sub-segments with "Section 1", "1.1", "1.2", etc.:
content: "Section " counter(section) ". ";
content: counter(section) "." counter(subsection) " ";
Definition and Usage
The counter-reset property makes or resets at least one counters.
The counter-reset property is generally utilized together with the counter-increase property and the substance property.
The numbers in the table determine the primary program form that completely bolsters the property.
Note: IE8 bolsters the counter-reset property just if a !DOCTYPE is specified.
|none||Default esteem. No counters will be reset|
|name||The name characterizes which counter that ought to be reset|
|number||The id characterizes which counter that ought to be reset. The number sets the esteem the counter is set to on every event of the selector. The default reset esteem is 0|
|initial||Sets this property to its default esteem. Read about initial|
|inherit||Inherits this property from its parent component. Read about inherit|