The ::marker CSS pseudo-element selects the marker box of a list item, which typically contains a bullet or number. It works on any element or pseudo-element set to display: list-item, such as the <li> and <summary> elements.
(Edge 86, Firefox 68, Safari 11.1, Chrome 86, Opera 72)
The ::marker CSS pseudo-element selects the marker box of a list item, which typically contains a bullet or number. It works on any element or pseudo-element set to display: list-item, such as the <li> and <summary> elements.
(Edge 86, Firefox 68, Safari 11.1, Chrome 86, Opera 72)
MDN Reference