CSS - ::-moz-list-number

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

Example

 

CSS

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

HTML

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

Result

moz-list-number.png

Syntax  

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

Description  

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

License

© 2016 Mozilla Contributors
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-us/docs/web/css/:-moz-list-number

CSS CSS Reference NeedsCompatTable Non-standard Pseudo-element