VOOZH about

URL: https://www.geeksforgeeks.org/css/tailwind-css-word-break/

⇱ Tailwind CSS Word Break - GeeksforGeeks


  • Courses
  • Tutorials
  • Interview Prep

Tailwind CSS Word Break

Last Updated : 23 Jul, 2025

This class accepts more than one value in tailwind CSS. All the properties are covered in class form. It is the alternative to the CSS word-break property. This class is used to specify how to break the word when the word reached at end of the line. The line breaks in the text can occur in certain spaces, like when there is a space or a hyphen.

Word Break classes:

  • break-normal
  • break-words
  • break-all

break-normal: This class is used for the default line break rules.

Syntax:

<element class="break-normal">...</element>

Example:

Output:

👁 Image

break-words: It is used to break the words at arbitrary points to prevent overflow.

Syntax:

<element class="break-words">...</element>

Example:

Output:

👁 Image

break-all: It is used to break the words at any character to prevent overflow.

Syntax:

<element class="break-all">...</element>

Example:

Output:

👁 Image
break all class
Comment