Animating an Element's Properties

The animate() function provides a way to create smooth animations on the properties of an object.

Click the buttons below this <div> element to see how various properties can be animated.

Animate Me