In CSS, the cursor property allows us to specify the type of cursor that should be displayed when hovering over an element.
This property is useful for providing visual feedback to users, indicating the interactivity or action associated with an element.
The browser sets the cursor to its default cursor, typically an arrow.
button { cursor: auto; }
a { cursor: pointer; }
Indicates a link or clickable element.
input[type="text"] { cursor: text; }
.selection-area { cursor: crosshair; }
Indicates text that can be selected or edited.
.draggable { cursor: move; }
.resizable-column { cursor: col-resize; }
Displays a crosshair, often used for precise selection.
.help-icon { cursor: help; }
.disabled { cursor: not-allowed; }
Indicates that the element can be moved.
Indicates that the element can be resized in the specified direction ("column", "row", "northwest", "northeast", "southwest", "southeast", "horizontally", "vertically").
Indicates that help information is available.
Indicates that the requested action is not allowed or unavailable.