Hi, I am Mofei!
...

CSS Cursor Property Examples

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

December 20, 2012 at 10:29 AM

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

Subscribe by email

Writing about Finland, life, and code. The next post goes straight to your inbox, without the noise.

More Articles

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

Hi, I am Mofei

Coding, and living with intention.

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