Adding a cursor over on hover
Make a cursor show over an element
Last updated
Was this helpful?
Make a cursor show over an element
Last updated
Was this helpful?
You can change the when the mouse is over an element or an area. There are two methods described here:
Defining a style declaration and assigning it in the classes field
Defining the cursor style in the styles fieldf
Create a (or define the class in the page )
In the code block create a style declaration named pointerCursor:
If you are defining the class in the then exclude the style tags like so:
Assign the to the element you want to have a cursor:
To have a cursor change only when the mouse is hovering over the element use the pseudo state:
You can also add a cursor by setting the cursor style in the field: