CSS counter-reset property
Usage
Resets the specified counter. Not supported in all browsers.
Values
- none - default; the counter is not reset
- [name] [value] - the counter called
[name]is reset to the specified[value]
Example
Code:
h2:before {
content: counter(subheading);
counter-increment: subheading;
counter-reset: paragraph;
}