Sabz Posted August 8, 2023 Share Posted August 8, 2023 Greetings everyone, I'm currently working on implementing a button animation that activates upon mouse hover. I've provided my CodePen demo in this forum post. On my CodePen you can see the button is only moving to the left side. But I want the button to move to the opposite side of my mouse. Here is an example of what exactly I'm looking for (You can hover over those nav links to see the animation): Example Url If anyone can help me to enhance my animation, I would greatly appreciate it. Thank you in advance for your help! See the Pen xxQevJR by sabbirzzaman (@sabbirzzaman) on CodePen Link to comment Share on other sites More sharing options...
Solution Rodrigo Posted August 8, 2023 Solution Share Posted August 8, 2023 Hi, Maybe something like this: See the Pen GRwagLB by GreenSock (@GreenSock) on CodePen Hopefully this helps. Happy Tweening! 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now