File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1075,7 +1075,7 @@ The Implicit ''list-item'' Counter</h3>
10751075 In the following example,
10761076 the list is modified to count by twos:
10771077 <pre>
1078- ol.evens { counter-increment: list-item 2; }
1078+ ol.evens > li { counter-increment: list-item 2; }
10791079 </pre>
10801080 A three-item list would be rendered as
10811081 <pre>
@@ -1104,7 +1104,7 @@ The Implicit ''list-item'' Counter</h3>
11041104 that hooks into the ''counter-increment/list-item'' counter,
11051105 and thus respects any numbering changes inflicted through HTML:
11061106 <pre>
1107- ol::marker { content: counters(list-item,'.' ) '.' ; }
1107+ ol > li ::marker { content: counters(list-item,'.' ) '.' ; }
11081108 </pre>
11091109 Nested lists using this rule would be rendered like
11101110 <pre>
You can’t perform that action at this time.
0 commit comments