<!-- Please provide all of the information requested below. We're a small team and without all of this information it's not possible for us to help and your bug report will be closed. --> **What version of Tailwind CSS are you using?** 4.1.8 **What build tool (or framework if it abstracts the build tool) are you using?** Vite, Playground **What version of Node.js are you using?** 23.11.1 **What browser are you using?** Edge 137.0.3296.68 Chrome 137.0.7151.104 **What operating system are you using?** Windows 10 **Reproduction URL** https://play.tailwindcss.com/d5N8skje1t **Describe your issue** `starting:opacity-0` doesn't work when it's generated in the `base` layer. I've provided 4 examples to demonstrated that: 1. `starting:opacity-0` (generated in base layer) 2. `[@starting-style]:opacity-0` (generated in base layer) 3. `starting-opacity-bug` (generated in base layer) 4. `starting-opacity-0-fix` (not in base layer → works) https://github.com/user-attachments/assets/b47942a7-f3c3-4478-aac0-87b5e29d858e
What version of Tailwind CSS are you using?
4.1.8
What build tool (or framework if it abstracts the build tool) are you using?
Vite, Playground
What version of Node.js are you using?
23.11.1
What browser are you using?
Edge 137.0.3296.68
Chrome 137.0.7151.104
What operating system are you using?
Windows 10
Reproduction URL
https://play.tailwindcss.com/d5N8skje1t
Describe your issue
starting:opacity-0doesn't work when it's generated in thebaselayer.I've provided 4 examples to demonstrated that:
starting:opacity-0(generated in base layer)[@starting-style]:opacity-0(generated in base layer)starting-opacity-bug(generated in base layer)starting-opacity-0-fix(not in base layer → works)video_2025_06_11_08_23.webm