TAG
CSS
Result
Run
License
<ol> <li>Item 1 <ol> <li>Item 1-1</li> <li>Item 1-2</li> </ol> </li> <li>Item 2 <ol> <li>Item 2-1</li> <li>Item 2-2</li> </ol> </li> </ol>
ol { counter-reset: mycounter; list-style: none; } li { counter-increment: mycounter; } li::before { content: "("counters(mycounter, ".", upper-alpha)") " ; color: #FF0000; font-weight: bold; }
Console
expand_less
License
License
by DevDic
Close