<ol>
<li>apple</li>
<li>orange</li>
</ol>
li{
counter-increment: li;
}
ol ::marker {
content: "#" counter(li) " ";
font-size: 1rem;
color: red;
font-family: "Comic Sans MS", cursive, sans-serif;
}
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.