Replies: 2 comments
-
Could you provide a git repo that reproduces your issue please? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Closing this issue – turns out the translate-* utility did work when I forced it with !important (using !translate-*). Something else was overriding the styles in my setup. This isn’t an issue with Tailwind itself. Thanks! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Bug Description
The utility class
peer-checked:after:translate-x-6
works perfectly in Tailwind Play but fails to generate CSS locally with Tailwind 4.Expected Behavior
Should generate CSS for transforming ::after pseudo-element when peer is checked (like it does in Tailwind Play)
Actual Behavior
Tailwind Play ✅
peer-checked:after:translate-x-6
works correctlyLocal Environment ❌
peer-checked:translate-x-6
works ✅after:translate-x-6
works ✅peer-checked:after:translate-x-6
doesn't work ❌Environment
Tailwind CSS: 4.x
Browser: Chrome
OS: Arch Linux
Tailwind Play: Works ✅ https://play.tailwindcss.com/
Local setup: Doesn't work ❌
Network cache disabled
Code
Beta Was this translation helpful? Give feedback.
All reactions