CSS cursor keywords
This page lists the 36 cursor keywords that CSS Basic User Interface Module Level 4 (CSS Working Group) defines in section 5.1.1.1 Predefined Cursors, in 6 definition groups, each with the specification's own one-line definition.
Source: W3C CSS Working Group, CSS Basic User Interface Module Level 4, section 5.1.1.1 Predefined Cursors, https://drafts.csswg.org/css-ui-4/#predefined-cursors · About the sources
Definition groups
| Group | Keywords |
|---|---|
| general purpose cursors | 3 |
| links and status cursors | 5 |
| selection cursors | 4 |
| drag and drop cursors | 7 |
| resizing and scrolling cursors | 15 |
| zooming cursors | 2 |
| All groups | 36 |
Each group row counts the records whose group heading is that heading in the specification; the keywords column sums to 36 across the 6 groups.
Keywords
| Keyword | Definition as the specification words it | Group |
|---|---|---|
auto | The UA determines the cursor to display based on the current context: auto behaves as text over selectable text or editable elements, and default otherwise. | general purpose cursors |
default | The platform-dependent default cursor. Often rendered as an arrow. | general purpose cursors |
none | No cursor is rendered for the element. | general purpose cursors |
context-menu | A context menu is available for the object under the cursor. Often rendered as an arrow with a small menu-like graphic next to it. | links and status cursors |
help | Help is available for the object under the cursor. Often rendered as a question mark or a balloon. | links and status cursors |
pointer | The cursor is a pointer that indicates a link. | links and status cursors |
progress | A progress indicator. The program is performing some processing, but is different from wait in that the user may still interact with the program. Often rendered as a spinning beach ball, or an arrow with a watch or hourglass. | links and status cursors |
wait | Indicates that the program is busy and the user should wait. Often rendered as a watch or hourglass. | links and status cursors |
cell | Indicates that a cell or set of cells may be selected. Often rendered as a thick plus-sign with a dot in the middle. | selection cursors |
crosshair | A simple crosshair (e.g., short line segments resembling a "+" sign). Often used to indicate a two dimensional bitmap selection mode. | selection cursors |
text | Indicates text that may be selected. Often rendered as a vertical I-beam. User agents may automatically display a horizontal I-beam/cursor (e.g. same as the vertical-text keyword) for vertical text, or for that matter, any angle of I-beam/cursor for text that is rendered at any particular angle. | selection cursors |
vertical-text | Indicates vertical-text that may be selected. Often rendered as a horizontal I-beam. | selection cursors |
alias | Indicates an alias of/shortcut to something is to be created. Often rendered as an arrow with a small curved arrow next to it. | drag and drop cursors |
copy | Indicates something is to be copied. Often rendered as an arrow with a small plus sign next to it. | drag and drop cursors |
move | Indicates something is to be moved. | drag and drop cursors |
no-drop | Indicates that the dragged item cannot be dropped at the current cursor location. Often rendered as a hand or pointer with a small circle with a line through it. | drag and drop cursors |
not-allowed | Indicates that the requested action will not be carried out. Often rendered as a circle with a line through it. | drag and drop cursors |
grab | Indicates that something can be grabbed (dragged to be moved). Often rendered as the backside of an open hand. | drag and drop cursors |
grabbing | Indicates that something is being grabbed (dragged to be moved). Often rendered as the backside of a hand with fingers closed mostly out of view. | drag and drop cursors |
e-resize | Indicates that some edge is to be moved. For example, the se-resize cursor is used when the movement starts from the south-east corner of the box. | resizing and scrolling cursors |
n-resize | Indicates that some edge is to be moved. For example, the se-resize cursor is used when the movement starts from the south-east corner of the box. | resizing and scrolling cursors |
ne-resize | Indicates that some edge is to be moved. For example, the se-resize cursor is used when the movement starts from the south-east corner of the box. | resizing and scrolling cursors |
nw-resize | Indicates that some edge is to be moved. For example, the se-resize cursor is used when the movement starts from the south-east corner of the box. | resizing and scrolling cursors |
s-resize | Indicates that some edge is to be moved. For example, the se-resize cursor is used when the movement starts from the south-east corner of the box. | resizing and scrolling cursors |
se-resize | Indicates that some edge is to be moved. For example, the se-resize cursor is used when the movement starts from the south-east corner of the box. | resizing and scrolling cursors |
sw-resize | Indicates that some edge is to be moved. For example, the se-resize cursor is used when the movement starts from the south-east corner of the box. | resizing and scrolling cursors |
w-resize | Indicates that some edge is to be moved. For example, the se-resize cursor is used when the movement starts from the south-east corner of the box. | resizing and scrolling cursors |
ew-resize | Indicates a bidirectional resize cursor. | resizing and scrolling cursors |
ns-resize | Indicates a bidirectional resize cursor. | resizing and scrolling cursors |
nesw-resize | Indicates a bidirectional resize cursor. | resizing and scrolling cursors |
nwse-resize | Indicates a bidirectional resize cursor. | resizing and scrolling cursors |
col-resize | Indicates that the item/column can be resized horizontally. Often rendered as arrows pointing left and right with a vertical bar separating them. | resizing and scrolling cursors |
row-resize | Indicates that the item/row can be resized vertically. Often rendered as arrows pointing up and down with a horizontal bar separating them. | resizing and scrolling cursors |
all-scroll | Indicates that the something can be scrolled in any direction. Often rendered as arrows pointing up, down, left, and right with a dot in the middle. | resizing and scrolling cursors |
zoom-in | Indicates that something can be zoomed (magnified) in or out, and often rendered as a magnifying glass with a "+" or "-" in the center of the glass, for zoom-in and zoom-out respectively. | zooming cursors |
zoom-out | Indicates that something can be zoomed (magnified) in or out, and often rendered as a magnifying glass with a "+" or "-" in the center of the glass, for zoom-in and zoom-out respectively. | zooming cursors |
One row per keyword record in css_cursor_keywords.json, in the order the specification defines them. Definitions are the specification's own text.
Source and licence
Source: W3C CSS Working Group, CSS Basic User Interface Module Level 4, section 5.1.1.1 Predefined Cursors, https://drafts.csswg.org/css-ui-4/#predefined-cursors.
This page includes material copied from or derived from CSS Basic User Interface Module Level 4, https://drafts.csswg.org/css-ui-4/. Copyright © 2026 World Wide Web Consortium. https://www.w3.org/copyright/software-license-2023/