counter-increment

The counter-increment CSS property increases or decreases the value of a CSS counter by a given value.

Initial value none
Applies to all elements

Syntax

  
counter-increment: my-counter 3;
  

Values

The name of the counter to increment.
The value to add to the counter. Defaults to 1 if not specified.
No counter must be incremented. This is used as the default value, or to cancel an increment in more specific rules.

Browser support

counter-incrementchrome2edge12firefox1ie8opera9.2safari3

We use cookies to improve your experience. Learn more in our Privacy policy.

×