CSS Cursor Generator

Explore and test all standard CSS cursor types with an interactive hover playground and instant code generation.

Available Cursors

🎯

Hover Zone

Test the "pointer" cursor here

cursor: pointer;

About the CSS Cursor Generator

Hover over the samples to see each built-in cursor, choose the one that fits, and copy the CSS cursor rule.

Everything you enter is processed in your browser; nothing is uploaded or stored.

How to use it

  1. Pick a cursor from Available Cursors.
  2. Move your mouse over the Hover Zone to try it.
  3. Copy the CSS rule and add it to the element.

When to use each cursor

pointer (the hand) signals a link or clickable control; text marks selectable text; move and grab signal something draggable; wait or progress shows the app is busy; not-allowed marks a disabled action; crosshair suits precise selection such as cropping; help marks extra information.

Matching the cursor to the action is a small usability win: people learn from it whether something is clickable before they click.

Frequently asked questions

How do I change the cursor in CSS?

Use the cursor property, for example button { cursor: pointer; }.

Can I use a custom image as the cursor?

Yes: cursor: url(cursor.png) 4 4, auto; – always end with a standard fallback.

Do touch screens show cursors?

No, so never rely on the cursor alone to show that something is interactive.