WeCodeAcademy

jQuery Animate

.animate() changes numeric CSS properties smoothly. You can run code when it finishes with a callback.

Examplehtml
Open in editor »

Only numeric properties can be animated. Use .stop() to cancel an animation that is still running.

Quick check

What can you pass as the last argument of .animate()?

Finish the quick check (and any code exercise) to complete this lesson, or mark it done yourself.

Tip: use the left and right arrow keys to move between lessons.