Skip to content

outline-hidden only applies transparent outline when forced-colors is active? #16926

Closed
@benwilliams140

Description

@benwilliams140

What version of Tailwind CSS are you using?

4.0.9

What build tool (or framework if it abstracts the build tool) are you using?

Vite 6.0.11

What version of Node.js are you using?

22.13.1

What browser are you using?

Chromium, Firefox, Safari

What operating system are you using?

MacOS

Reproduction URL

https://play.tailwindcss.com/SOQPkOEDC9

Describe your issue

I'm currently upgrading a project from v3 to v4. The upgrade guide states that outline-none was renamed to outline-hidden, although this is only true when forced-colors media feature is active. Curious why this change was made, and if there's another utility class I could use to have the same behaviour as v3.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions