This example demonstrates how to animate an element's opacity to a given value.
Click anywhere to start animation.