More than one url() may be provided as fallbacks, in case some cursor image types are not supported. These will set the cursor's hotspot, relative to the top-left corner of the image.įor example, this specifies two images using values, providing coordinates for the second one, and falling back to the progress keyword value if neither image can be loaded:Ī url(…) or a comma separated list url(…), url(…), …, pointing to an image file. The browser will try to load the first image specified, falling back to the next if it can't, and falling back to the keyword value if no images could be loaded (or if none were specified).Įach may be optionally followed by a pair of space-separated numbers, which represent coordinates. The cursor property is specified as zero or more values, separated by commas, followed by a single mandatory keyword value.
* Keyword value */ cursor : pointer cursor : auto /* URL, with a keyword fallback */ cursor : url (hand.cur ), pointer /* URL and coordinates, with a keyword fallback */ cursor : url (cursor1.png ) 4 12, auto cursor : url (cursor2.png ) 2 2, pointer /* Global values */ cursor : inherit cursor : initial cursor : revert cursor : unset