HTML and CSS Reference
In-Depth Information
Name
counter-reset
Values:
[<identifier> <integer>? ]+ | none
Initial value:
none
Applies to:
All elements
Inherited:
No
Computed value:
Same as declared value
Description:
With this property, counters can be reset (or set for the first time) to any value, positive or
negative. If no <integer> is supplied, it defaults to 0 .
Examples:
h1 {counter-reset: section;}
h2 {counter-reset: subsec 1;}
Search WWH ::




Custom Search