DOM MANIPULATION

In this example, learn how to use the lineargradient tool
and with Javascript code change the colors as you wish.




Click the first box to change the left color

Click the second box to change the right color of the page.




Click the button to generate a random gradient color

Everytime you click, the background colors change.

Current CSS Background