Onmousemove events gets triggered when we move the mouse pointer over an element. Here is the syntax
<div onmousemove="trigger some function or change style">
We will try this in our div layer example. To keep the difference we have also added one more onmouseout event to restore the background color to a different value.
The code part is here