Custom Animations
animate changes numeric CSS properties over time. Use relative values such as += and chain animations in a queue.
Example
$('#box').animate({ left: '250px', opacity: 0.5, height: '+=50px' }, 1000);Exercise
Animate method.
$('#box').({ left: 200 })
Quiz Test
These free lessons are for learning. Join a full course for projects, mentor feedback and a verified certificate.