Example of Dynamic Style with JavaScript

This is a Web page using JavaScript and CSS to demostrate how to change the style of a document dynamically.

Put your mouse pointer over this text to change it's style.
Click the elephant's belly to change his position and z-index.
Elephant walking animation