Animate.css isn’t working when adding/removing classes
For whatever reason my the addClass, removeClass is not working in my hover function. I thought it was a syntax issue but even after I resolved the the issue still remains. Please advise.
Here is the function
And here is a link to the function http://jsfiddle.net/galnova/y50wr52n/9/
It’s because you aren’t toggling the
Apparently there are some cross-browser inconsistencies. This fixes it in Chrome. Now it works in all supported browsers.
You can avoid JS/jQuery completely and use the following:
You might want to use the animation shorthand, though: