Text Decoration

    Utilities for controlling the decoration of text.

    Control how text is decorated with the , no-underline, and utilities.


    Tailwind lets you conditionally apply utility classes in different states using variant modifiers. For example, use hover:text-center to only apply the utility on hover.

    Text Decoration - 图3

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

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