How do I rotate an image on hover using jquery?
I am trying to rotate a ‘back to top’ button 360 degrees on hover WITHOUT un-rotating on mouseleave. I have tried multiple variations of jQuery code that I’ve found but I still can’t seem to get it working. Here’s the real example of where I’ve gotten so far (CSS hover between images as well).
I have tried changing the jQuery to
you can do it using
NOTE:(AFTER) —> I didn’t get what you ask really in your last comment. but try this for your comment question 🙂 .hope it will help to you.