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>
1075
1075
In the following example,
1076
1076
the list is modified to count by twos:
1077
1077
<pre>
1078
- ol.evens { counter-increment: list-item 2; }
1078
+ ol.evens > li { counter-increment: list-item 2; }
1079
1079
</pre>
1080
1080
A three-item list would be rendered as
1081
1081
<pre>
@@ -1104,7 +1104,7 @@ The Implicit ''list-item'' Counter</h3>
1104
1104
that hooks into the ''counter-increment/list-item'' counter,
1105
1105
and thus respects any numbering changes inflicted through HTML:
1106
1106
<pre>
1107
- ol::marker { content: counters(list-item,'.' ) '.' ; }
1107
+ ol > li ::marker { content: counters(list-item,'.' ) '.' ; }
1108
1108
</pre>
1109
1109
Nested lists using this rule would be rendered like
1110
1110
<pre>
You can’t perform that action at this time.
0 commit comments