mozilla
Your Search Results

    :-moz-list-number

    この記事はまだ日本語に翻訳されていません。MDN の翻訳はボランティアによって行われています。是非 MDN に登録し、私たちの力になって下さい。

    « CSS « CSS Reference « Mozilla Extensions

    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 pseudo-class lets you customize the appearance of numbers on list items (<li>) occurring in ordered lists (<ol>).

    Syntax

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

    Examples

      <style type="text/css">
        li::-moz-list-number {
          font-style: italic;
          font-weight: bold;
        }
      </style>
    
      <ol>
        <li>First item</li>
        <li>Second item</li>
        <li>Third item</li>
      </ol>
    

    Gives the following result:

    moz-list-number.png
    View the live example

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

    Contributors to this page: Sheppy, velvel53
    最終更新者: velvel53,