The 'counter-increment' property accepts one or more names of counters (identifiers), each one optionally followed by an integer. The integer indicates by how much the counter is incremented for every occurrence of the element.
The default increment is 1. Zero and negative integers are allowed.
[ <identifier> <integer>? ]+ | none | inherit
h1:before { content: "chapter " counter(chapter) ". "; counter-increment: chapter; /* add 1 to chapter */counter-reset: section; /* set section to 0 */}