+ 3

How to make Jquery click smoother

I'm trying to make a side-menu from scratch. I finished it, but how can I make the animation smoother? I would also like to get rid of the blue background when you click the button without changing the other elements https://code.sololearn.com/WUK6aJz1byua/?ref=app

14th Jul 2020, 8:37 AM
Clueless Coder
Clueless Coder - avatar
1 Odpowiedź
0
You can change the css via animate instead of .css, example .animate({ left: "0", }, 500, function() { // Animation complete. });
14th Jul 2020, 5:14 PM
JME