There is more to styling lists in CSS than you might think. In this article, Rachel starts by looking at lists in CSS, and moving onto some interesting features defined in the CSS Lists specification — markers and counters.
Lists in CSS have particular properties which give us the standard list styling we expect. An unordered list gains a list bullet, of the type
disc, and ordered lists are numbered. My interest in exploring lists in more detail came from some work I did to document the
::markerpseudo-element for MDN. This pseudo-element ships in Firefox 68 and is being released today. With the
::markerpseudo element available to us, we can start to do some interesting things with lists, and in this article, I’ll explain more.