「CSS」list-style-typeプロパティで白い丸を指定する

2021年9月4日

構文
list-style-type: circle;

使用例

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
<style>
.cft {
list-style-type: circle; /* 中空円 */
}
</style>
<ul class="cft">
<li>東京</li>
<li>大阪</li>
<li>横浜</li>
<li>福岡</li>
</ul>
<style> .cft { list-style-type: circle; /* 中空円 */ } </style> <ul class="cft"> <li>東京</li> <li>大阪</li> <li>横浜</li> <li>福岡</li> </ul>
<style>
  .cft {
    list-style-type: circle; /* 中空円 */
  }
</style>
<ul class="cft">
  <li>東京</li>
  <li>大阪</li>
  <li>横浜</li>
   <li>福岡</li>
</ul>

 

CSS

Posted by arkgame