Selector pseudo-element ::marker

Selects the markers of list items.
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

  • and elements.

    li::marker {
      content: '✝ ';
      font-size: 1.2em;
    }