DOM Example: getStyle

This example demonstrates how to use Dom.getStyle to get the current style of an element.

Click anywhere to get the background color of the red element and apply it to the gray element.