pseudo-element

::-moz-list-number — CSS reference

Nonstandard vendor pseudo-element for the ordered list number. Native control parts depend on engine and appearance; parsing a prefixed selector does not prove the internal part exists or is painted. Preserve native semantics, labels and keyboard operation. The standard host styling example is a limited alternative, not exact internal styling.

Formal Syntax & Structure

css syntaxcss
li::-moz-list-number

Working Example

Example Snippetcss
<!doctype html><html lang="en"><meta charset="utf-8"><title>::-moz-list-number</title><style>body{margin:0;background:white}#a{box-sizing:border-box}#a{list-style-type:decimal}li::-moz-list-number{color:green}</style><body><ol><li id="a">Item</li></ol></body></html>
CSS Reference