← Tailwind CSS classes list

Tailwind CSS class: .list-disc / .list-*

<ul class="list-none list-inside m-2">
  <li>None</li>
  <li>None</li>
</ul>
<ul class="list-disc list-inside m-2">
  <li>Disc</li>
  <li>Disc</li>
</ul>
<ul class="list-decimal list-inside m-2">
  <li>Decimal</li>
  <li>Decimal</li>
</ul>

Preview

  • None
  • None
  • Disc
  • Disc
  • Decimal
  • Decimal

CSS source

.list-none { list-style-type: none; }
.list-disc { list-style-type: disc; }
.list-decimal { list-style-type: decimal; }

More in Tailwind CSS List