What: You have an unordered list and you want to turn it into an ordered one through CSS
How: You can do this with CSS 2.1 and the counter element. Yay! I love CSS.
HTML, CSS, JavaScript & PHP
What: Firefox 68+ and Safari 11.1+ support the pseudo-element ::marker
yay! Chrome doesn’t yet, and neither do Edge or IE11. It will allow for:
li::marker {
color: #ff3399;
content: "-";
}
Not just on list-items either, but also on elements with a display: list-item
.
CSS-Tricks has more about this: Finally, it Will Be Easy to Change the Color of List Bullets.