SOURCE

console 命令行工具 X clear

                    
>
console
<ul>
    <li>one</li>
    <li>two</li>
    <li>three</li>
    <li>four</li>
    <li>five</li>
</ul>
ul {
    list-style: none;
    counter-reset: counter;
}
li {
    counter-increment: counter;
}
li::before {
    content: counter(counter) ".";
}