Menu
Samaritan's Purse

COUNTER-INCREMENT

The counter-increment property increments or decrements the value of the counter.

SYNTAX

CSS

counter-increment: value;

JS

object.style.counterIncrement = "value";

VALUES

<'counter-increment'> = [ <counter-name> <integer>? ]+ | none
<counter-name> = <custom-ident>
<custom-ident>

Specifies any valid identifier that is not misinterpreted as a keyword.

<integer>

Specifies one or more decimal digits (0-9).

none

Does not alter the value of any counters.

INITIAL

none

EXAMPLES

COUNTER-NAME

INTEGER

NONE

JS

INTERNAL

counter-reset

counter-set

EXTERNAL

World Wide Web Consortium (W3C)