Animated Buttons

Click to Close Sample Close This Sample

This page demonstrates how style can be changed through interactions with the user. This technique makes the Web page more lively and interactive.

Dynamic HTML supports the CSS standard on built-in controls. When combined with the object model, it allows the controls to change in appearance and size as a result of interaction with the user.

The "Click me" button demonstrates that even buttons can resize to accommodate changed button content, causing the document to automatically reflow around them.


© 2002 Microsoft Corporation . All rights reserved. Terms of use.