HomeMenu
Jesus · Bible · HTML · CSS · JS · PHP · SVG · Applications

counter-reset

Description

The counter-reset property for CSS resets the value of the counter.

Syntax

CSS

counter-reset: value;

JS

object.style.counterReset = "value";

Values

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

1 · counter-name

2 · integer

3 · none

4 · JS