HTML and CSS Reference
In-Depth Information
Name
counter-increment
Values:
[<identifier> <integer>? ]+ |
none
Initial value:
none
Applies to:
All elements
Inherited:
No
Computed value:
Same as declared value
Description:
With this property, counters can be incremented (or decremented) by any value, positive or
negative or
0
. If no <integer> is supplied, it defaults to
1
.
Examples:
h1 {counter-increment: section;}
*.backward li {counter-increment: counter −1;}