Menu Samaritan's Purse

COUNTER-SET

The counter-set property sets the value of the counter.

SYNTAX

CSS

counter-set: value;

JS

object.style.counterSet = "value";

VALUES

<'counter-set'> = [ <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-increment

counter-reset

EXTERNAL

World Wide Web Consortium (W3C)