← Tailwind CSS classes list

Tailwind CSS class: .break-words

<div class="h-32 w-64 bg-gray-200 m-2">
  <span class="break-words">Lorem ipsum dolor sit amet,
    consectetur adipiscing elit. Pellentesque 
    justopurusulputateipsumgetsuereacilisisberoroiet pulvinar 
    felis.
  </span>
</div>

Preview

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque justopurusulputateipsumgetsuereacilisisberoroiet pulvinar felis.

CSS source

.break-words {
    overflow-wrap: break-word;
}

More in Tailwind CSS Text