+ 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
1 ответ
0
You can change the css via animate instead of .css, example
.animate({
left: "0",
}, 500, function() {
// Animation complete.
});