Does anyone know why my animate-pulse is behaving weird?
In the tailwind example https://tailwindcss.com/docs/animation#pulse, it looks like the colors are just fading in and out. But when I try to do it, it seems that the div is just scaling up and down. Does anyone know why?
Animation - Tailwind CSS
Utilities for animating elements with CSS animations.
3 Replies
Here's my tailwind config, if that's any help:
I've seen this before. Happens on windows. Seems to be related to tailwind's built-in animate pulse keyframes clashing with the one of the tailwind plugin's keyframes. I didn't find a fix - I just killed the animation.
I found the problem. In one of my CSS files, I had an animation named pulse, that seemed to be overwriting the tailwind's pulse-animation. Just renamed my own animation, and it fixed the issue.