ZVON > References > CSS2 Reference |
Intro / Search / ZVON |
Property: | counter-reset |
Inherited: | no |
Value: | [ <identifier> <integer> ? ]+ | none | inherit |
Initial: | none |
Applies to: | all elements |
Media: | all |
Percentages: | N/A |
<heroes> <person>Gandalf</person> <person>Frodo</person> <person>Sam</person> <person>Aragorn</person> </heroes> |
View * {padding-left: 20px} heroes {counter-reset: hero 0} person {display: block} person:before {content: counter(hero) "."; counter-increment: hero} |