-
I am trying to create a spin component but it's not animating.
|
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 6 replies
-
I copied your code into tailwind play and its spinning. https://play.tailwindcss.com/iKd6C9dhPj |
Beta Was this translation helpful? Give feedback.
-
Hey! Your element might be actually spinning, but you can't see it because of the Here's the same code with |
Beta Was this translation helpful? Give feedback.
-
I used the CDN build and changed the code to this and it worked :
|
Beta Was this translation helpful? Give feedback.
-
This might not be answer for all but i ran the command npm run production and that stripped all the purged all the unused classes but when i ran npm run dev all came back. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
in my case, I put custom animation not in the before
fixed
|
Beta Was this translation helpful? Give feedback.
I used the CDN build and changed the code to this and it worked :