In order to reset both, the following must be used. If no counter-reset is specified, the default value is none. An element does not inherit the counter-reset property of the element which contains it. What it does The counter-increment property increments the value of a named counter by a certain amount. Possible Values counter-increment takes the name of the counter to increment.
Counter names are identifiers, and comprise letters, numerals and hyphens.
They cannot begin with numerals or hyphens. It also takes an optional integer, by which it increments the value of the identified counter. If no integer is specified, the counter is incremented by one. This is no mere luxury. Because of cascading, the following will set only the counter named counter2.