Search within TutorialsPark

CSS counter-increment Property

To increment counter for a numbered sequence

Definition and Notes.

1. The CSS counter-increment property is used to create counters which can be incremented or decremented by any value, positive or negative or zero.

2.If nothing is specified as a value, it is set to its default value of 1.


CSS counter-increment property. internetexplorer safari firefox opera chrome

View in Splitscreen»


Property Values

Value Description
none No counter will get Incremented
id number It defines the counter which is to be incremented.It defines the number by which the counter will get incremented on each occurence of a given selector.
inherit The value of counter-increment is inherited from the parent element


Specs Value
Name counter-increment
Value [<identifier> <integer> ?]+ |none | inherit
Initial Value none
Applies to all elements
Javascript syntax"section"
Inherited no
Computed Value Same as declared Value
Browser Support internetexplorer safari firefox opera chrome

Related Examples.