Name

counter-increment

Synopsis

With this property, counters can be incremented (or decremented) by any value, positive or negative. If no <integer> is supplied, it defaults to 1.

Values:

[<identifier> <integer>? ]+ | none | inherit

Initial value:

user agent-dependent

Applies to:

all elements

Inherited:

no

Computed value:

as specified

Get Cascading Style Sheets: The Definitive Guide, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.