Tailwind CSS Classes

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

Are you tired of writing HTML by hand?

CSS source

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

More Tailwind CSS classes in List category

© 2024 Shuffle. All rights reserved.