Join MDN and developers like you at Mozilla's View Source conference, 12-14 September in Berlin, Germany. Learn more at https://viewsourceconf.org

::-moz-list-number

この記事はまだボランティアによって 日本語 に翻訳されていません。ぜひ MDN に参加して翻訳を手伝ってください!

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

ドキュメントのタグと貢献者

 このページの貢献者: Sebastianz, teoli, velvel53, Sheppy
 最終更新者: Sebastianz,