CSS Cursor Property Examples

December 20, 2012 at 10:29 AM
...

Discover how to change the mouse pointer style using the cursor property to enhance web interaction.

Definition and Usage

The cursor property specifies the type of cursor (pointer) to be displayed.

Syntax:

    Object.style.cursor=cursortype

Parameters

url

default

auto

crosshair

pointer

move

e-resize

ne-resize

nw-resize

n-resize

se-resize

sw-resize

s-resize

w-resize

text

wait

help

If there’s something worth discussing, leave a comment and let’s talk!

Coding, and living with intention.

Subscribe
© 2012–2026 Mofei·Privacy·Terms
Life compiled in code
CSS Cursor Property Examples | Hi, I am Mofei!