301 of 313 menu

The counter-reset property

The counter-reset property resets a counter value to zero. This property must be used when working with counter-increment, and it is set for parent.

Syntax

selector { counter-reset: name [initial value] | none; }

Values

Value Description
name An ordinary word (like a class name or id). You can specify multiple names, separating them with a space. In this case, several counters will change at the same time.
initial value A positive or negative integer. Optional.
none Prevents incrementing the counter for the current selector. It is a default value.
English
AfrikaansAzərbaycanБългарскиবাংলাБеларускаяČeštinaDanskDeutschΕλληνικάEspañolEestiSuomiFrançaisहिन्दीMagyarՀայերենIndonesiaItaliano日本語ქართულიҚазақ한국어КыргызчаLietuviųLatviešuМакедонскиMelayuမြန်မာNederlandsNorskPolskiPortuguêsRomânăРусскийසිංහලSlovenčinaSlovenščinaShqipСрпскиSrpskiSvenskaKiswahiliТоҷикӣไทยTürkmenTürkçeЎзбекOʻzbekTiếng Việt
We use cookies for website operation, analytics, and personalization. Data processing is carried out in accordance with the Privacy Policy.
accept all customize decline