Google
CSS Counter-Reset Property

Description:
Used to reset the automatic counter in the counter-increment property
Syntax:
counter-reset: [identifier] [integer] ...
Possible Values:
  • none
  • [identifier] [integer]
  • inherit
Initial Value:
None
Applies To:
All elements
Inherited:
No
Media:
All
Example:
h1:before {
  content: "Chapter " counter(chapter) ":"
  counter-increment: chapter;
  counter-reset: section;
}