CSS cursor property
Browser support · legacy reference
ChromeFully supports
SafariFully supports
FirefoxFully supports
Internet ExplorerFully supports
EdgeFully supports
OperaFully supports
Description
CSS cursor property defines the type of cursor for the pointing devices when the cursor is within the range of an element.
Syntax
cursor : auto | default | none | context-menu | help | pointer | progress | wait | cell | crosshair | text | vertical-text | alias | copy | move | no-drop | not-allowed | grab | *-resize | zoom-in | zoom-out
Property values
auto
-
The shape of cursor depends upon the type of context. There will be text cursor over editable text field.
- Try it
cursor: auto; crosshair
-
indicates two dimensional bitmap selection. It looks like a thin cell.
- Try it
cursor: crosshair; text
-
indicates the selection of horizontal text. It looks like a vertical I shape.
- Try it
cursor: text; vertical-text
-
It indicates the selection of vertical text. It looks like horizontal I shape.
- Try it
cursor: vertical-text; alias
-
indicates shortcut to something. It consists of small curved arrow next to the cursor arrow.
- Try it
cursor: alias;
Applicable to
It applies to all elements