::-moz-list-bullet

Non-standard: This feature is not standardized. We do not recommend using non-standard features in production, as they have limited browser support, and may change or be removed. However, they can be a suitable alternative in specific cases where no standard option exists.

Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

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

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

Examples

Styling list item markers

HTML

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

CSS

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

Result

Specifications

Not part of any standard.

Browser compatibility

See also