-
In Tailwind v3, I had a number of animations specified in the
When I migrated to Tailwind V4, I converted these to the
When I did this, the animation itself worked, but I was no longer able to control the animation by changing For the time being, I've worked around this by simply converting my
This works for my purposes, but as this was a kind of unexpected gotcha of the migration and I assume was an unintended regression, I thought I should bring it to your attention. I'm not actually sure how you would go about fixing this given the CSS-variable driven nature of tailwind v4. Perhaps by keeping the Thanks! What version of Tailwind CSS are you using? v4.1.5 What build tool (or framework if it abstracts the build tool) are you using? Webpack 5.96.1 + PostCSS 8.4.48 What version of Node.js are you using? v20.18.0 What browser are you using? Chrome What operating system are you using? Arch Linux Reproduction URL https://play.tailwindcss.com/BNY1UyOM6m?file=css Describe your issue As you can see, the animation plays on both squares, but the red one (using the theme |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Use the |
Beta Was this translation helpful? Give feedback.
Use the
inline
option with@theme
: https://play.tailwindcss.com/OSasKuREHN?file=css