Language
日本語
English

Caution

JavaScript is disabled in your browser.
This site uses JavaScript for features such as search.
For the best experience, please enable JavaScript before browsing this site.

CSS Dictionary

  1. Home
  2. CSS Dictionary
  3. cursor

cursor

Changes the mouse cursor (mouse pointer) design when it is hovering over the target element.

The appearance of this property often varies greatly depending on the OS and browser. Note that some values may not work in certain browsers.

Sample Code

div.test { cursor: auto;}
div.test1 { cursor: default;}
div.test2 { cursor: help;}

Available Values

ValueDescription
autoThe browser automatically determines the cursor design based on the element and its content. This 'auto' is the initial value.
defaultChanges to the default arrow cursor.
noneHides the mouse cursor.
context-menuIndicates a context menu is available below the cursor.
helpChanges the cursor to a question mark.
pointerChanges the cursor to a pointing hand.
progressChanges to a cursor indicating the program is busy.
waitChanges to a cursor indicating the program is busy.
cellChanges to a cursor indicating a cell (like in a spreadsheet) can be selected.
crosshairChanges to a crosshair cursor.
textChanges to a cursor indicating horizontal text can be selected.
vertical-textChanges to a cursor indicating vertical text can be selected.
aliasChanges to a cursor indicating an alias (shortcut).
copyChanges to a cursor indicating something can be copied.
moveChanges to a cursor indicating the element can be moved in all directions.
no-dropChanges to a cursor indicating a drop action is not allowed.
not-allowedChanges to a cursor indicating an action is not allowed.
all-scrollChanges to a cursor indicating scrolling is possible in any direction.
col-resizeChanges to a cursor indicating horizontal resizing is possible.
row-resizeChanges to a cursor indicating vertical resizing is possible.
n-resizeChanges the cursor to an upward arrow.
e-resizeChanges the cursor to a rightward arrow.
s-resizeChanges the cursor to a downward arrow.
w-resizeChanges the cursor to a leftward arrow.
ne-resizeChanges the cursor to an upper-right arrow.
nw-resizeChanges the cursor to an upper-left arrow.
se-resizeChanges the cursor to a lower-right arrow.
sw-resizeChanges the cursor to a lower-left arrow.
ew-resizeChanges the cursor to a left-right arrow.
ns-resizeChanges the cursor to an up-down arrow.
nesw-resizeChanges the cursor to an upper-right/lower-left arrow.
nwse-resizeChanges the cursor to an upper-left/lower-right arrow.
zoom-inChanges to a cursor indicating zoom-in is possible.
zoom-outChanges to a cursor indicating zoom-out is possible.

Browser Support

Chrome Chrome
1+
Firefox Firefox
1+
Safari Safari
1.2+
Edge Edge
12+
Supported in all versions
IE IE
11
10
9
8
7
6
Opera Opera
7+
6 and earlier ×
iOS Safari iOS Safari
13.4+
12 and earlier ×
Android Android Browser
4.4+
3 and earlier ×
Chrome Android Chrome Android
Latest
Same support as desktop
Firefox Android Firefox Android
Latest
Same support as desktop

※ Version data based on MDN.

If you find any errors or copyright issues, please .