I’m trying to implement a simple button shake animation, I’ve used this exact same animation many times, but for whatever reason it won’t work on this site.
I’m trying to move the nav bar button 2px to the left, then 2px to the right, then pause for 2 seconds and loop.
However when you run the animation, the button appears as though its stuck and can’t actually move. It looks like its only going about .1px, instead of 2px.
Hello @liamemery I just checked and your animation is a bit off. Your last item has a duration of 2 seconds which is why it’s a bit weird, and the steps are as below:
-3 px
3 px
0 px
0 px (2 second duration)
I assume it should be
-3
3
-3
0 all the same duration.
Removing that doesn’t change anything unfortunately. I’m at a loss to why this doesn’t work, have used this exact same setup on multiple sites, it’s odd.