Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions css2/generate.html
Original file line number Diff line number Diff line change
Expand Up @@ -647,7 +647,7 @@ <h3>12.4.1 <a name="scope">Nested counters and scope</a></h3>
'list-style: inside' on the LI element:

<pre>
OL { counter-reset: item }
OL>LI:first-child { counter-reset: item }
LI { display: block }
LI:before { content: counter(item) ". "; counter-increment: item }
</pre>
Expand Down Expand Up @@ -735,7 +735,7 @@ <h3>12.4.1 <a name="scope">Nested counters and scope</a></h3>
as "1", "1.1", "1.1.1", etc.

<PRE>
OL { counter-reset: item }
OL>LI:first-child { counter-reset: item }
LI { display: block }
LI:before { content: counters(item, ".") " "; counter-increment: item }
</PRE>
Expand Down