cursor

The cursor property specifies the type of cursor to be displayed for the pointing device.

CSS2

cursor: [ [<uri> ,]* [ auto | crosshair | default | pointer | move | e-resize | ne-resize | nw-resize | n-resize | se-resize | sw-resize | s-resize | w-resize | text | wait | help | progress ] ] | inherit
Initial: auto
Applies To: all elements
Inherited: yes
Percentages: NA
Media: visual, interactive

Values

Δ

cursor: value;
 
Value: Description:
auto Indicates the cursor is determined by the current context
crosshair Indicates a location point
default Default cursor
e-resize Indicates the east edge is to be moved
help Indicates help is available
inherit Takes the same computed value as the property for the element's parent
move Indicates something is to be moved
n-resize Indicates the north edge is to be moved
ne-resize Indicates the north east edge is to be moved
nw-resize Indicates the north west edge is to be moved
pointer Indicates a link
progress Indicates the program is busy, but the user may still interact
s-resize Indicates the south edge is to be moved
se-resize Indicates the south east edge is to be moved
sw-resize Indicates the south west edge is to be moved
text Indicates text may be selected
uri Indicates the cursor is designated by the URI
w-resize Indicates the west edge is to be moved
wait Indicates the program is busy and the user should wait

DOM

Δ

[window.]document.getElementById("element-id").style.cursor = "cursor";

Example | Values | auto

Δ

Example | Values | crosshair

Δ

Example | Values | default

Δ

Example | Values | e-resize

Δ

Example | Values | help

Δ

Example | Values | move

Δ

Example | Values | n-resize

Δ

Example | Values | ne-resize

Δ

Example | Values | nw-resize

Δ

Example | Values | pointer

Δ

Example | Values | progress

Δ

Example | Values | s-resize

Δ

Example | Values | se-resize

Δ

Example | Values | sw-resize

Δ

Example | Values | text

Δ

Example | Values | uri

Δ

Example | Values | w-resize

Δ

Example | Values | wait

Δ

Example | DOM

Δ

Reference

Δ