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


counter-increment: my-counter 3;


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


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