CSS cursor Property Reference

The CSS cursor property is a standard property in CSS Basic User Interface. Review its formal syntax, computed behavior, and practical declarations.

CSS cursor Property Reference

The CSS cursor property is a standard property in CSS Basic User Interface. Review its formal syntax, computed behavior, and practical declarations.

Updated 2026-08-12

cursor overview

The CSS cursor property is a standard property in CSS Basic User Interface. Review its formal syntax, computed behavior, and practical declarations.

The computed value normally inherits from the parent element when no declaration wins the cascade.

Syntax and formal definition

cursor formal syntax
FieldValue
Formal syntax[ [ <url> [ <x> <y> ]? , ]* <cursor-predefined> ]
Initial valueauto
Applies toallElements
InheritedYes
Percentagesno
Computed valueasSpecifiedURLsAbsolute
Animation typediscrete
Mediavisual, interactive
Specification groupCSS Basic User Interface
StatusStandard

Practical examples

These declarations demonstrate valid ways to set cursor. The initial and inherit global keywords remain available even when a property-specific value is preferable.

cursor live example
CSS .reset-example { cursor: initial; } .inherit-example { cursor: inherit; } @supports (cursor: initial) { .supported { cursor: initial; } }

Description

The CSS cursor property is a standard property in CSS Basic User Interface. Review its formal syntax, computed behavior, and practical declarations.

References

  1. MDN: cursor
  2. MDN: CSS Properties Reference

Similar or alternative tools

Don't forget to set a bookmark for tool.io!
Privacy | Imprint | Cookies