Guest User

Untitled

a guest
Apr 20th, 2018
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. <style>
  2. ol { counter-reset: item !important; }
  3. li{ display: block !important; }
  4. li:before {
  5. content: counters(item, ".") " " !important;
  6. counter-increment: item !important;
  7. }
  8. </style>
  9.  
  10. <ol>
  11. <li>First</li>
  12. <li>Second
  13. <ol>
  14. <li>Second Dot One</li>
  15. <li>Second Dot Two</li>
  16. </ol>
  17. </li>
  18. </ol>
  19.  
  20. <p>test sentence.</p>
  21.  
  22. <ol start="12">
  23. <li>&nbsp;It must start from 12 not 1</li>
  24. </ol>
Add Comment
Please, Sign In to add comment