Word Break

    Utilities for controlling word breaks in an element.

    Use to only add line breaks at normal word break points.

    Word Break - 图2

    Use to add line breaks whenever necessary, without trying to preserve whole words.


    For a complete list of all available state modifiers, check out the documentation.

    You can also use variant modifiers to target media queries like responsive breakpoints, dark mode, prefers-reduced-motion, and more. For example, use md:break-all to apply the utility at only medium screen sizes and above.

    To learn more, check out the documentation on , Dark Mode and .