Skip to content

[v4]: rotate-y-* utilities rotate in the x dimension in Safari #15144

@kylekz

Description

@kylekz

What version of Tailwind CSS are you using?

v4.0.0-beta.2

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

Nextjs 15.0.3

What version of Node.js are you using?

20.17.0

What browser are you using?

Chrome, iOS Safari, macOS Safari

What operating system are you using?

Windows 11, iOS 18.1, macOS 15.0.1

Reproduction URL

https://play.tailwindcss.com/sHoCSE6sM2

Describe your issue

in Safari, rotate-y-180 flips vertically instead of horizontally. I've added hover: for desktop usage and active: (press) for mobile. Manually overriding the utility like so fixes it:

@utility rotate-y-180 {
  transform: rotateY(180deg);
}

rotate-y-45 does appear to "shrink" vertically too, so perhaps it's all rotate-y-* utilities. rotate-x-* appears to be fine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions