Sets the type of cursor, if any, to show when the mouse pointer is over an element.
auto | default | none | context-menu | help | pointer
progress | wait | cell | crosshair | text | vertical-text
alias | copy | move | no-drop | not-allowed | <dir>-resize
col-resize | row-resize | all-scroll | zoom-in | zoom-out
grab | grabbing | [ <url> [ <x> <<y> ]? , ]*
Where <dir>-resize
can be n-, ne-, nw-, s-, se-,
sw-, w-, ew-, ns-, nesw-
, or nwse-
If importing an image via url()
it takes comma-separated URLS followed by one of the keywords above. Optionally, followed by a pair of space-separated x- and y- coordinates setting the cursor's hotspot relative to the top-left corner of the image.
cursor: url(hat.svg), url(hat.cur) 2 5, grabbing;
That said, don't use custom cursors.