Work in progress!

    More detailed documentation is coming soon, but in the meantime here’s a quick class reference.

    Add borders to any element using the syntax.

    For example, .border would add a 1px border to all sides of the element, where would add a 4px border to the bottom of the element.

    Class

    Side (optional)

    Border Width - 图3

    All (default)

    Border Width - 图5

    Right

    Bottom

    Border Width - 图7

    Left

    Width (optional)

    0px

    Border Width - 图9

    2px

    Border Width - 图11

    4px

    8px

    By default, only responsive variants are generated for border width utilities.

    You can control which variants are generated for the border width utilities by modifying the borderWidths property in the section of your Tailwind config file.

    For example, this config will also generate hover and focus variants:

    Border Width - 图13

    Disabling