How to make nested list numbering include parent element numbers (all levels) using only CSS?
By default the lists only display the numbering of a level:
<ol>
<li>item
<ol>
<li>item
<ol>
<li>item</li>
<li>item</li>
</ol>
</li>
<li>item</li>
</ol>
</li>
<li>item
<ol>
<li>item</li>
<li>item</li>
</ol>
</li>
</ol>
The expected result looks like this:
1. item
1.1. item
1.1.1. item
1.1.2. item
1.2. item
2. item
2.1. item
2.2. item