{cursor} Cursor Property | CSS: Presentation Layer

Standards Based Development

The cursor property specifies the type of cursor that should be displayed for the pointing device when over an element's border, padding, and content.

cursor

Cursor Image Types

A static cursor is saved as a .cur file; an animated cursor is saved as .ani file.

Cursor mime Media Type

WebKit browsers may have problem(s) rendering cursor's using images, resulting in an error message similar to this: Resource interpreted as Image but transferred with mime type application/octect-stream. Adding the following to .htaccess will resolve this error:


AddType image/vnd.microsoft.icon .cur .ico

Cursor Mime Media Type

Some CSS Cursor Property Values (via Sitepoint)

WebKit cursor Values

WebKit defines four constants for cursor that can be used as keyword values:

Examples

References and Resources