Firefox Tomorrow

css pseudo element

`::-moz-list-bullet` CSS pseudo-element

View on MDN ↗

Limited availability

The ::-moz-list-bullet CSS pseudo-element is a Mozilla extension that represents the marker (typically a bullet) of a list item (<li>) in an unordered list (<ul>).

Syntax

li::-moz-list-bullet {
  /* ... */
}

Examples

Styling list item markers

HTML

<ul>
  <li>Item 1</li>
  <li>Item 2</li>
  <li>Item 3</li>
</ul>

CSS

::-moz-list-bullet {
  color: red;
  font-size: 1.5em;
}

Result

Interactive exampleOpen the canonical MDN source to run this embedded demo.

Specifications

Not part of any standard.

Browser compatibility

Browser compatibilityCompatibility data is available on the canonical MDN page.

See also