::-moz-list-number

Non-standard
This feature is non-standard and is not on a standards track. Do not use it on production sites facing the Web: it will not work for every user. There may also be large incompatibilities between implementations and the behavior may change in the future.

Summary

The ::-moz-list-number CSS pseudo-element lets you customize the appearance of numbers on list items (<li>) occurring in ordered lists (<ol>).

Syntax

li::-moz-list-number { style properties }

Example

CSS

li::-moz-list-number {
  font-style: italic;
  font-weight: bold;
}

HTML

<ol>
  <li>First item</li>
  <li>Second item</li>
  <li>Third item</li>
</ol>

Result

moz-list-number.png

Document Tags and Contributors

 Contributors to this page: Sebastianz, teoli, velvel53, Sheppy
 Last updated by: Sebastianz,