Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <style>
- ol { counter-reset: item !important; }
- li{ display: block !important; }
- li:before {
- content: counters(item, ".") " " !important;
- counter-increment: item !important;
- }
- </style>
- <ol>
- <li>First</li>
- <li>Second
- <ol>
- <li>Second Dot One</li>
- <li>Second Dot Two</li>
- </ol>
- </li>
- </ol>
- <p>test sentence.</p>
- <ol start="12">
- <li> It must start from 12 not 1</li>
- </ol>
Add Comment
Please, Sign In to add comment