default
none
context-menu
help
pointer
progress
wait
cell
crosshair
text
vertical-text
alias
copy
move
no-drop
not-allowed
grab
grabbing
all-scroll
col-resize
row-resize
n-resize
e-resize
s-resize
w-resize
ne-resize
nw-resize
se-resize
sw-resize
ew-resize
ns-resize
nesw-resize
nwse-resize
zoom-in
zoom-out
Our website presents an extensive list of 35 unique cursor styles. To implement any of these cursors, simply extract the relevant CSS code by clicking on the desired element and integrate it into your stylesheet by copying and pasting.
CSS cursors come in a variety of types, each with its unique design and function. The following are some of the most commonly used CSS cursors:
Default Cursor: The default cursor is the standard arrow pointer that appears when the mouse is not interacting with any element on the web page.
Text Cursor: The text cursor is a vertical line that appears when hovering over a text-based element such as a text box or input field.
Pointer Cursor:
The pointer cursor is a hand-shaped cursor that appears when hovering over a clickable element such as a hyperlink or button.
Move Cursor:
The move cursor is a cross-shaped cursor that appears when hovering over an element that can be moved, such as an image or a div.
Wait Cursor:
The wait cursor is an hourglass or spinning circle that appears when the web page is loading or performing a task that requires the user to wait.
Help Cursor:
The help cursor is a question mark that appears when the user hovers over an element that provides assistance or information.
Not-allowed Cursor:
The not-allowed cursor is a circle with a line through it that appears when the user hovers over an element that is disabled or cannot be interacted with.
CSS cursors can be set using the "cursor" property in CSS. To use a specific cursor, simply specify the cursor type in the "cursor" property. For example, to set the pointer cursor, use the following code:
button { cursor: pointer; }
This code sets the pointer cursor for all buttons on the web page. To set a custom cursor, such as an image, you can use the "url" function in CSS. Example:
button{ cursor: url('my.custom-cursor.png'), pointer; }
pointer will be fallback if image file is missing or takes long time to load
© 2023 WebCodeTool