![]() |
VOOZH | about |
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: This class is used for the default line break rules.
Syntax:
<element class="break-normal">...</element>Example:
Output:
👁 Imagebreak-words: It is used to break the words at arbitrary points to prevent overflow.
Syntax:
<element class="break-words">...</element>Example:
Output:
👁 Imagebreak-all: It is used to break the words at any character to prevent overflow.
Syntax:
<element class="break-all">...</element>Example:
Output: