12.4.1 Nested counters and scope

Chapter 12 - Generated content, automatic numbering, and lists - 12.4.1 Nested counters and scope

Go to the relevant page of the specification.

counter-reset-sibling-001
Counter-reset on later siblings
Setting 'counter-reset' on later siblings does not have an effect on previous counters.
counters-scope-000
Counter scope
counters-scope-001
Counter scope and nesting on elements
counters-scope-002
Counter scope and nesting on :before
counters-scope-003
Counter scope and nesting on :after
counters-scope-004
Counter scope and nesting