Hover
Show and hide the element when the cursor is over it.
| Attribute | Type | Default | Description |
|---|---|---|---|
| on | STRING | both | Action to perform when the cursor is in the area. Either show or hide |
| duration | INTEGER | 0 | Duration of the appear/fade transition in milliseconds (ms) |
| from | INTEGER | 0 | Transparency when the cursor is not over the element from 0 to 100 |
| to | INTEGER | 100 | Transparency when the cursor is over the element from 0 to 100 |
| tolerance | INTEGER | 0 | Expands the area on each side (in pixels) |
Example
<behavior name="fx4" fx="hover" />