cursor

SVG 属性リファレンスホーム

cursor 属性は、マウスポインタが要素の上にあるときに表示されるマウスカーソルを指定します。

この属性は CSS の cursor プロパティと全く同じ動作をしますが、 <cursor> 要素に対応しているブラウザーであれば <FuncIRI> 記法を使用して使用することができます。

プレゼンテーション属性として、 CSS スタイルシート内で直接プロパティとして使用することもできます。詳しくは CSS の cursor を参照してください。

使用コンテキスト

カテゴリー プレゼンテーション属性
[[<FuncIRI>,]* [ auto | crosshair | default | pointer | move | e-resize | ne-resize | nw-resize | n-resize | se-resize | sw-resize | s-resize | w-resize| text | wait | help ]] | inherit
アニメーション
標準化文書 SVG 1.1 (2nd Edition)

要素

以下の要素で cursor 属性を使用することができます。

仕様書

Specification
CSS Basic User Interface Module Level 4
# cursor

ブラウザーの互換性

Report problems with this compatibility data on GitHub
desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
WebView on iOS
cursor

Legend

Tip: you can click/tap on a cell for more information.

Full support
Full support
See implementation notes.

関連情報