is now part of Shuffle™. The new editor includes templates for Tailwind CSS, Bootstrap, Bulma, and Material-UI.
Switch to Shuffle →
← Tailwind CSS classes list

Tailwind CSS class: .list-inside / .list-outside

<ul class="list-disc bg-teal-400 list-inside m-2 ml-6">
  <li>Disc</li>
  <li>Disc</li>
</ul>
<ul class="list-disc bg-teal-400 list-outside m-2 ml-6">
  <li>Disc</li>
  <li>Disc</li>
</ul>

Preview

  • Disc
  • Disc
  • Disc
  • Disc

CSS source

.list-inside { list-style-position: inside; }
.list-outside { list-style-position: outside; }

More in Tailwind CSS List