General

default

General

none

Links & status

context-menu

Links & status

help

Links & status

pointer

Links & status

progress

Links & status

wait

Selection

cell

Selection

crosshair

Selection

text

Selection

vertical-text

Drag & drop

alias

Drag & drop

copy

Drag & drop

move

Drag & drop

no-drop

Drag & drop

not-allowed

Drag & drop

grab

Drag & drop

grabbing

Resizing & scrolling

all-scroll

Resizing & scrolling

col-resize

Resizing & scrolling

row-resize

Resizing & scrolling

n-resize

Resizing & scrolling

e-resize

Resizing & scrolling

s-resize

Resizing & scrolling

w-resize

Resizing & scrolling

ne-resize

Resizing & scrolling

nw-resize

Resizing & scrolling

se-resize

Resizing & scrolling

sw-resize

Resizing & scrolling

ew-resize

Resizing & scrolling

ns-resize

Resizing & scrolling

nesw-resize

Resizing & scrolling

nwse-resize

Zooming

zoom-in

Zooming

zoom-out

CSS Cursors

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.

What are the most popular CSS Cursor types?

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:

  1. 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.

  2. 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.

  3. Pointer Cursor:

    The pointer cursor is a hand-shaped cursor that appears when hovering over a clickable element such as a hyperlink or button.

  4. 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.

  5. 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.

  6. Help Cursor:

    The help cursor is a question mark that appears when the user hovers over an element that provides assistance or information.

  7. 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.

How to set CSS cursor:

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; }

How to set custom CSS cursor?

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