We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ac5c9ac commit c3032d4Copy full SHA for c3032d4
css-lists-3/Overview.bs
@@ -1075,7 +1075,7 @@ The Implicit ''list-item'' Counter</h3>
1075
In the following example,
1076
the list is modified to count by twos:
1077
<pre>
1078
- ol.evens { counter-increment: list-item 2; }
+ ol.evens > li { counter-increment: list-item 2; }
1079
</pre>
1080
A three-item list would be rendered as
1081
@@ -1104,7 +1104,7 @@ The Implicit ''list-item'' Counter</h3>
1104
that hooks into the ''counter-increment/list-item'' counter,
1105
and thus respects any numbering changes inflicted through HTML:
1106
1107
- ol::marker { content: counters(list-item,'.') '.'; }
+ ol > li::marker { content: counters(list-item,'.') '.'; }
1108
1109
Nested lists using this rule would be rendered like
1110
0 commit comments