Skip to content

Issues with content in v4 API tables #2027

@dcastil

Description

@dcastil

Hey! I went through the entire Tailwind CSS v4 documentation as part of dcastil/tailwind-merge#513 and noted some things that looked incorrect to me in the API tables. Not sure whether these are features/bugs or if I got it wrong, but wanted to leave this here in case you want to check them out.

I left out some classes that weren't documented but marked with a // Legacy comment in https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts.

  • Not documented in API table
    • col-auto
    • col-span-full
    • col-span-[<value>]
    • col-span-(<custom-property>)
    • row-auto
    • row-span-full
    • row-span-[<value>]
    • row-span-(<custom-property>)
    • m-*-auto
    • min-w-none
    • max-w-none
    • max-w-prose
    • max-w-screen-<breakpoint>
    • leading-<tight|snug|normal|relaxed|loose>
  • Incorrectly documented in API table
    • bg-(position:<custom-property>) is missing label position
    • bg-(size:<custom-property>) is missing label size
    • outline-offset-(length:<custom-property>) doesn't need length label

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions