Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

Revision 424249 of cursor

  • リビジョンの URL スラグ: Web/CSS/cursor
  • リビジョンのタイトル: cursor
  • リビジョンの ID: 424249
  • 作成日:
  • 作成者: ethertank
  • 現行リビジョン? いいえ
  • コメント
タグ: 

このリビジョンの内容

{{CSSRef}}

概要

CSS の cursor プロパティは、マウスポインタが対象となる要素上に有る時のマウスカーソルを定義します。

  • {{Xref_cssinitial}} {{Cssxref("auto")}}
  • 適用対象 全要素
  • {{Xref_cssinherited}} 継承する
  • メディア {{Xref_cssvisual}}、 {{Xref_cssinteractive}}
  • {{Xref_csscomputed}} 指定値(※キーワード指定の場合)
  • アニメーションの可否 不可
  • 正式順序 正式な文法により定められた一意のあいまいでない順序

構文

cursor:
[ [ <uri> [<x> <y>]?,]* 
  [ auto | default | none | context-menu | help | pointer | progress | wait | cell | 
    crosshair | text | vertical-text | alias | copy | move | no-drop | not-allowed | 
    e-resize | n-resize | ne-resize | nw-resize | s-resize | se-resize |
    sw-resize | w-resize | ew-resize | ns-resize | nesw-resize | nwse-resize |
    col-resize | row-resize | all-scroll | zoom-in | zoom-out ]
] | inherit

<uri>
任意
url(…) の様な形式か、或いはそれらのカンマ区切りのリスト ( url(…), url(…), … ) で画像の URL を指定。2 つ目以降の {{Xref_cssuri}} の指定はそれぞれ、前候補の画像形式がサポートされていなかった場合のフォールバックとして機能します。リストの最後には、キーワード値の何れかを一つ以上指定しなければなりません。この指定がなければ、指定した url() 形式の記述は無効となります。詳細については『CSS の cursor プロパティに於ける URL() 値の使用』の頁を参照して下さい。
<x> <y> {{experimental_inline}}
カーソルの表示位置の x 座標と y 座標のピクセル値を単位無しで指定(任意)

キーワード値

「値」の列にマウスオーバーすると、各項目の実際の表示を確認できます。

カテゴリ 表示 説明
一般 auto   コンテクストに基づき表示するカーソルをブラウザが決定。
※例えばテキストにマウスオーバーした時には text キーワードを指定した場合と同様の表示結果となるでしょう。
default default 既定のカーソル。矢印の様な形状となる。
none   カーソルを表示しない。
{{yakuchu("ユーザビリティ上の観点から、この値は特別な理由が無い限り用いるべきではありません。")}}
リンク及び状態 context-menu context-menu カーソル下でコンテクストメニューが使用可能である事を示す。
Windows 上の Gecko/Firefox には実装されていない {{Bug("258960")}} WONTFIX
help help ヘルプが使用可能である事を示す
pointer pointer リンクにマウスカーソルが乗った時など。多くの場合、指差しマークが表示される。
progress progress バックグラウンドでプログラムがビジー状態であるが、まだユーザによる操作が可能である状態を示す(※ wait とは異なる)
wait wait プログラムがビジー状態で、ユーザによる操作が不能である状態を示す(カーソルは砂時計、或いは時計などの図柄となる)
選択 cell cell セルを選択できることを示す
crosshair crosshair 十字カーソルは。多くの場合ビットマップの選択を示す為に用いる
text text.gif テキストを選択可能である事を示す。通常、I ビームが表示される
vertical-text vertical-text 縦書きのテキストを選択可能である事を示す。通常、水平の I ビームが表示される
ドラッグアンドドロップ alias alias エイリアスやショートカットが作成される事を示す
copy copy 何らかのコピー操作が可能である事を示す
move move マウスカーソル下のオブジェクトが移動できる可能性がある事を示す
no-drop no-drop 現在の位置にドロップが許可されていないことを示すカーソル。
{{bug("275173")}} Windows に於いて、"no-drop" が "not-allowed" と同じものとなる
not-allowed not-allowed 何らかの操作を行う事が出来ない事を示す
リサイズ及びスクロール all-scroll all-scroll 任意の方向にスクロール(パン)可能である事を示す
{{bug("275174")}} Windows に於いて、"all-scroll" が "move" と同じものとなる
col-resize col-resize アイテムや列が水平方向にリサイズ可能である事を示す。
row-resize row-resize アイテムや行が垂直方向にリサイズ可能である事を示す。
n-resize Example of a resize towards the top cursor エッジが移動可能である事を示す。例えばボックスの右下から動作を開始すると "se-resize" カーソルが表示される。
e-resize Example of a resize towards the right cursor
s-resize Example of a resize towards the bottom cursor
w-resize Example of a resize towards the left cursor
ne-resize Example of a resize towards the top-right corner cursor
nw-resize Example of a resize towards the top-left corner cursor
se-resize Example of a resize towards the bottom-right corner cursor
sw-resize Example of a resize towards the bottom-left corner cursor
ew-resize 3-resize.gif 双方向へのサイズ変更が可能である事を示す
ns-resize 6-resize.gif
nesw-resize 1-resize.gif
nwse-resize 4-resize.gif
ズーム zoom-in
-webkit-zoom-in
zoom-in.gif

ズームイン / アウトが可能であることを示す {{experimental_inline}}

zoom-out
-webkit-zoom-out
zoom-out.gif

ベンダー拡張

掴む -moz-grab
-webkit-grab
grab 要素を掴む事が出来る事を示す このカーソルの 公共の web ページでの使用はおすすめできません。
URL() 値を使用した方が、より環境互換性の高いページになります。
-moz-grabbing
-webkit-grab
grabbing 要素を掴んでいる事を示す

{{CSSRefExampleLink("cursor")}}

.foo { cursor: crosshair; }

/* use prefixed-value if "zoom-in" isn't supported */
.bar { cursor: -webkit-zoom-in;  cursor: -moz-zoom-in;  cursor: zoom-in; } 

/* standard cursor value as fallback for url() must be provided (doesn't work without) */
.baz { cursor: url(hyper.cur), auto }

仕様

仕様書 策定状況 コメント
{{SpecName('CSS3 UI', '#cursor', 'cursor')}} {{Spec2('CSS3 UI')}} 幾つかのキーワード、ポジション構文、url() 関数形式の追加
{{SpecName('CSS2.1', 'ui.html#cursor-propsy', 'cursor')}} {{Spec2('CSS2.1')}} 最初期の定義

ブラウザ実装状況

機能 Chrome (WebKit) Firefox (Gecko) Internet Explorer Opera Safari
auto, crosshair, default, move, text, wait, help, n-resize, e-resize, s-resize, w-resize, ne-resize, nw-resize, se-resize, sw-resize 1.0 1.0 (1.0) 4.0 7.0 1.2
hand {{non-standard_inline}} (同等の表現である "pointer" で代用可能) {{CompatNo}} {{CompatNo}} 4.0 {{CompatNo}} {{CompatNo}}
pointer, progress 1.0 1.0 (1.0|1.7) 6.0 7.x 1.2 | 3.0
url() (参照:『CSS の cursor プロパティに於ける URL() 値の使用』) 1.0 (523) 1.5 (1.8)
On MacOs 4.0 (2.0).
6.0 {{CompatNo}} 3.0
url() 値用のポジション構文 {{experimental_inline}} {{CompatUnknown}} {{CompatVersionUnknown}} {{CompatNo}} {{CompatUnknown}} {{CompatUnknown}}
not-allowed, no-drop, vertical-text, all-scroll, col-resize, row-resize 1.0 (522) 1.5 (1.8) 6.0 10.6 3.0
alias, cell, copy, ew-resize, ns-resize, nesw-resize, nwse-resize, context-menu 1.0 (522 )[1] 1.5 (1.8 )[1] {{CompatNo}} 10.6 [1] 3.0 [2]
none 5.0 (533) 3.0 (1.9) 9.0 {{CompatNo}} 5.0 [2]
inherit 1.0 1.0 8.0 9.0 1.2
zoom-in, zoom-out 1.0 (522) {{property_prefix("-webkit-")}} 1.0 (1.4) {{property_prefix("-moz-")}}
24.0
{{CompatNo}} 11.6 3.0 {{property_prefix("-webkit-")}}

[1] Windows 上の Mozilla と WebKit では "context-menu" が適用されません。 Opera では問題ありません。
[2] Windows 上の Safari では、 aliascellcopynoneが適用されません(Mac は可か?)

関連情報

このリビジョンのソースコード

<div>
  {{CSSRef}}</div>
<h2 id="Summary" name="Summary">概要</h2>
<p>CSS の <code>cursor</code> プロパティは、マウスポインタが対象となる要素上に有る時のマウスカーソルを定義します。</p>
<ul class="cssprop">
  <li><dfn>{{Xref_cssinitial}}</dfn> {{Cssxref("auto")}}</li>
  <li><dfn>適用対象</dfn> 全要素</li>
  <li><dfn>{{Xref_cssinherited}}</dfn> 継承する</li>
  <li><dfn>メディア</dfn> {{Xref_cssvisual}}、 {{Xref_cssinteractive}}</li>
  <li><dfn>{{Xref_csscomputed}}</dfn> 指定値(※キーワード指定の場合)</li>
  <li><dfn>アニメーションの可否</dfn> 不可</li>
  <li><dfn>正式順序</dfn> 正式な文法により定められた一意のあいまいでない順序</li>
</ul>
<h2 id="Syntax" name="Syntax">構文</h2>
<pre class="syntaxbox" style="white-space:pre-wrap">
cursor:
[ [ &lt;uri&gt; [&lt;x&gt; &lt;y&gt;]?,]* 
  [ auto | default | none | context-menu | help | pointer | progress | wait | cell | 
    crosshair | text | vertical-text | alias | copy | move | no-drop | not-allowed | 
    e-resize | n-resize | ne-resize | nw-resize | s-resize | se-resize |
    sw-resize | w-resize | ew-resize | ns-resize | nesw-resize | nwse-resize |
    col-resize | row-resize | all-scroll | zoom-in | zoom-out ]
] | inherit
</pre>
<h3 id="Values" name="Values">値</h3>
<dl>
  <dt>
    &lt;uri&gt;</dt>
  <dd>
    任意<br />
    <code style="background:#eee;border:1px solid #000;padding:0 2px">url(…)</code> の様な形式か、或いはそれらのカンマ区切りのリスト ( <code style="background:#eee;border:1px solid #000;padding:0 2px">url(…), url(…), …</code> ) で画像の URL を指定。2 つ目以降の {{Xref_cssuri}} の指定はそれぞれ、前候補の画像形式がサポートされていなかった場合のフォールバックとして機能します。リストの最後には、キーワード値の何れかを一つ以上指定しなければなりません。この指定がなければ、指定した <code>url()</code> 形式の記述は無効となります。詳細については『<a href="/ja/docs/Web/CSS/cursor/url">CSS の cursor プロパティに於ける URL() 値の使用</a>』の頁を参照して下さい。</dd>
  <dt>
    &lt;x&gt; &lt;y&gt; {{experimental_inline}}</dt>
  <dd>
    カーソルの表示位置の x 座標と y 座標のピクセル値を単位無しで指定(任意)</dd>
</dl>
<h4 id="CSS_standard_values" name="CSS_standard_values">キーワード値</h4>
<p><small style="font-size:big;color:red">「値」の列にマウスオーバーすると、各項目の実際の表示を確認できます。</small></p>
<table class="standard-table">
  <tbody>
    <tr>
      <th>カテゴリ</th>
      <th>値</th>
      <th>表示</th>
      <th>説明</th>
    </tr>
    <tr style="cursor:auto">
      <td rowspan="3">一般</td>
      <td><code>auto</code></td>
      <td>&nbsp;</td>
      <td>コンテクストに基づき表示するカーソルをブラウザが決定。<br />
        ※例えばテキストにマウスオーバーした時には <code>text</code> キーワードを指定した場合と同様の表示結果となるでしょう。</td>
    </tr>
    <tr style="cursor:default">
      <td><code>default</code></td>
      <td><img alt="default" src="/@api/deki/files/3438/=default.gif" style="width:26px;height:26px;" /></td>
      <td>既定のカーソル。矢印の様な形状となる。</td>
    </tr>
    <tr style="cursor:none">
      <td><code>none</code></td>
      <td>&nbsp;</td>
      <td>カーソルを表示しない。<br />
        {{yakuchu("ユーザビリティ上の観点から、この値は特別な理由が無い限り用いるべきではありません。")}}</td>
    </tr>
    <tr style="cursor:context-menu">
      <td rowspan="5" style="cursor:auto">リンク及び状態</td>
      <td><code>context-menu</code></td>
      <td><img alt="context-menu" src="/@api/deki/files/3461/=context-menu.png" style="width:26px;height:26px;" /></td>
      <td>カーソル下でコンテクストメニューが使用可能である事を示す。<br />
        Windows 上の Gecko/Firefox には実装されていない {{Bug("258960")}} WONTFIX</td>
    </tr>
    <tr style="cursor:help">
      <td><code>help</code></td>
      <td><img alt="help" src="/@api/deki/files/3442/=help.gif" style="width:26px;height:26px;" /></td>
      <td>ヘルプが使用可能である事を示す</td>
    </tr>
    <tr style="cursor:pointer">
      <td><code>pointer</code></td>
      <td><img alt="pointer" src="/@api/deki/files/3449/=pointer.gif" style="width:26px;height:26px;" /></td>
      <td>リンクにマウスカーソルが乗った時など。多くの場合、指差しマークが表示される。</td>
    </tr>
    <tr style="cursor:progress">
      <td><code>progress</code></td>
      <td><img alt="progress" src="/@api/deki/files/3450/=progress.gif" style="width:26px;height:26px;" /></td>
      <td>バックグラウンドでプログラムがビジー状態であるが、まだユーザによる操作が可能である状態を示す(※ wait とは異なる)</td>
    </tr>
    <tr style="cursor:wait">
      <td><code>wait</code></td>
      <td><img alt="wait" src="/@api/deki/files/3457/=wait.gif" style="width:26px;height:26px;" /></td>
      <td>プログラムがビジー状態で、ユーザによる操作が不能である状態を示す(カーソルは砂時計、或いは時計などの図柄となる)</td>
    </tr>
    <tr style="cursor:cell">
      <td rowspan="4" style="cursor:auto">選択</td>
      <td><code>cell</code></td>
      <td><img alt="cell" src="/@api/deki/files/3434/=cell.gif" style="width:26px;height:26px;" /></td>
      <td>セルを選択できることを示す</td>
    </tr>
    <tr style="cursor:crosshair">
      <td><code>crosshair</code></td>
      <td><img alt="crosshair" src="/@api/deki/files/3437/=crosshair.gif" style="width:26px;height:26px;" /></td>
      <td>十字カーソルは。多くの場合ビットマップの選択を示す為に用いる</td>
    </tr>
    <tr style="cursor:text">
      <td><code>text</code></td>
      <td><img alt="text.gif" src="/files/3809/text.gif" style="width:26px;height:26px;" /></td>
      <td>テキストを選択可能である事を示す。通常、I ビームが表示される</td>
    </tr>
    <tr style="cursor:vertical-text">
      <td><code>vertical-text</code></td>
      <td><img alt="vertical-text" src="/@api/deki/files/3456/=vertical-text.gif" style="width:26px;height:26px;" /></td>
      <td>縦書きのテキストを選択可能である事を示す。通常、水平の I ビームが表示される</td>
    </tr>
    <tr style="cursor:alias">
      <td rowspan="5" style="cursor:auto">ドラッグアンドドロップ</td>
      <td><code>alias</code></td>
      <td><img alt="alias" src="/@api/deki/files/3432/=alias.gif" style="width:26px;height:26px;" /></td>
      <td>エイリアスやショートカットが作成される事を示す</td>
    </tr>
    <tr style="cursor:copy">
      <td><code>copy</code></td>
      <td><img alt="copy" src="/@api/deki/files/3436/=copy.gif" style="width:26px;height:26px;" /></td>
      <td>何らかのコピー操作が可能である事を示す</td>
    </tr>
    <tr style="cursor:move">
      <td><code>move</code></td>
      <td><img alt="move" src="/@api/deki/files/3443/=move.gif" style="width:26px;height:26px;" /></td>
      <td>マウスカーソル下のオブジェクトが移動できる可能性がある事を示す</td>
    </tr>
    <tr style="cursor:no-drop">
      <td><code>no-drop</code></td>
      <td><img alt="no-drop" src="/@api/deki/files/3445/=no-drop.gif" style="width: 33px; height: 26px;" /></td>
      <td>現在の位置にドロップが許可されていないことを示すカーソル。<br />
        {{bug("275173")}} Windows に於いて、"<code>no-drop</code>" が "not-allowed" と同じものとなる</td>
    </tr>
    <tr style="cursor:not-allowed">
      <td><code>not-allowed</code></td>
      <td><img alt="not-allowed" src="/@api/deki/files/3446/=not-allowed.gif" style="width:26px;height:26px;" /></td>
      <td>何らかの操作を行う事が出来ない事を示す</td>
    </tr>
    <tr style="cursor:all-scroll">
      <td rowspan="15" style="cursor:auto">リサイズ及びスクロール</td>
      <td><code>all-scroll</code></td>
      <td><img alt="all-scroll" src="/@api/deki/files/3433/=all-scroll.gif" style="width:26px;height:26px;" /></td>
      <td>任意の方向にスクロール(パン)可能である事を示す<br />
        {{bug("275174")}} Windows に於いて、"<code>all-scroll</code>" が "<code>move</code>" と同じものとなる</td>
    </tr>
    <tr style="cursor:col-resize">
      <td><code>col-resize</code></td>
      <td><img alt="col-resize" src="/@api/deki/files/3435/=col-resize.gif" style="width:26px;height:26px;" /></td>
      <td>アイテムや列が水平方向にリサイズ可能である事を示す。</td>
    </tr>
    <tr style="cursor:row-resize">
      <td><code>row-resize</code></td>
      <td><img alt="row-resize" src="/@api/deki/files/3451/=row-resize.gif" style="width:26px;height:26px;" /></td>
      <td>アイテムや行が垂直方向にリサイズ可能である事を示す。</td>
    </tr>
    <tr style="cursor:n-resize">
      <td><code>n-resize</code></td>
      <td><img alt="Example of a resize towards the top cursor" src="/files/4083/n-resize.gif" style="width:26px;height:26px; border-width: 0px; border-style: solid;" /></td>
      <td rowspan="8" style="cursor:auto">エッジが移動可能である事を示す。例えばボックスの右下から動作を開始すると "<code>se-resize</code>" カーソルが表示される。</td>
    </tr>
    <tr style="cursor:e-resize">
      <td><code>e-resize</code></td>
      <td><img alt="Example of a resize towards the right cursor" src="/files/4085/e-resize.gif" style="width:26px;height:26px;" /></td>
    </tr>
    <tr style="cursor:s-resize">
      <td><code>s-resize</code></td>
      <td><img alt="Example of a resize towards the bottom cursor " src="/files/4087/s-resize.gif" style="width:26px;height:26px;" /></td>
    </tr>
    <tr style="cursor:w-resize">
      <td><code>w-resize</code></td>
      <td><img alt="Example of a resize towards the left cursor" src="/files/4089/w-resize.gif" style="width:26px;height:26px;" /></td>
    </tr>
    <tr style="cursor:ne-resize">
      <td><code>ne-resize</code></td>
      <td><img alt="Example of a resize towards the top-right corner cursor" src="/files/4091/ne-resize.gif" style="width:26px;height:26px;" /></td>
    </tr>
    <tr style="cursor:nw-resize">
      <td><code>nw-resize</code></td>
      <td><img alt="Example of a resize towards the top-left corner cursor" src="/files/4093/nw-resize.gif" style="width:26px;height:26px;" /></td>
    </tr>
    <tr style="cursor:se-resize">
      <td><code>se-resize</code></td>
      <td><img alt="Example of a resize towards the bottom-right corner cursor" src="/files/4097/se-resize.gif" style="width:26px;height:26px;" /></td>
    </tr>
    <tr style="cursor:sw-resize">
      <td><code>sw-resize</code></td>
      <td><img alt="Example of a resize towards the bottom-left corner cursor" src="/files/4095/sw-resize.gif" style="width:26px;height:26px;" /></td>
    </tr>
    <tr style="cursor:ew-resize">
      <td><code>ew-resize</code></td>
      <td><img alt="3-resize.gif" src="/files/3806/3-resize.gif" style="width:26px;height:26px;" /></td>
      <td rowspan="4" style="cursor:auto">双方向へのサイズ変更が可能である事を示す</td>
    </tr>
    <tr style="cursor:ns-resize">
      <td><code>ns-resize</code></td>
      <td><img alt="6-resize.gif" src="/files/3808/6-resize.gif" style="width:26px;height:26px;" /></td>
    </tr>
    <tr style="cursor: nesw-resize;">
      <td><code>nesw-resize</code></td>
      <td><img alt="1-resize.gif" src="/files/3805/1-resize.gif" /></td>
    </tr>
    <tr style="cursor: nwse-resize;">
      <td><code>nwse-resize</code></td>
      <td><img alt="4-resize.gif" src="/files/3807/4-resize.gif" style="width:26px;height:26px;" /></td>
    </tr>
    <tr style="cursor:-webkit-zoom-in;cursor:zoom-in;">
      <td rowspan="2">ズーム</td>
      <td><code>zoom-in</code>、<br />
        <code>-webkit-zoom-in</code></td>
      <td><img alt="zoom-in.gif" src="/@api/deki/files/3459/=zoom-in.gif" /></td>
      <td rowspan="2" style="cursor:auto">
        <p>ズームイン / アウトが可能であることを示す {{experimental_inline}}</p>
      </td>
    </tr>
    <tr style="cursor:-webkit-zoom-out;cursor:zoom-out">
      <td><code>zoom-out</code><br />
        <code>-webkit-zoom-out</code></td>
      <td><img alt="zoom-out.gif" src="/@api/deki/files/3460/=zoom-out.gif" /></td>
    </tr>
  </tbody>
</table>
<h4 id="Vendor_extensions" name="Vendor_extensions">ベンダー拡張</h4>
<table class="standard-table">
  <tbody>
    <tr style="cursor:-moz-grab!important;cursor:-webkit-grab!important;">
      <td rowspan="2">掴む</td>
      <td><code><a href="/ja/docs/Web/CSS/-moz-grab">-moz-grab</a></code>、<br />
        <code>-webkit-grab</code></td>
      <td><img alt="grab" src="/@api/deki/files/3440/=grab.gif" style="width:26px;height:26px;" /></td>
      <td>要素を掴む事が出来る事を示す</td>
      <td colspan="2" rowspan="2" style="cursor:auto">このカーソルの 公共の web ページでの使用はおすすめできません。<br />
        <a href="/ja/docs/Web/CSS/Using_URL_values_for_the_cursor_property">URL() 値を使用</a>した方が、より環境互換性の高いページになります。</td>
    </tr>
    <tr style="cursor:-moz-grabbing!important;cursor:-webkit-grabbing!important;">
      <td><code><a href="/ja/docs/Web/CSS/-moz-grabbing">-moz-grabbing</a></code>、<br />
        <code>-webkit-grab</code></td>
      <td><img alt="grabbing" src="/@api/deki/files/3441/=grabbing.gif" style="width:26px;height:26px;" /></td>
      <td>要素を掴んでいる事を示す</td>
    </tr>
  </tbody>
</table>
<h2 id="Examples" name="Examples">例</h2>
<p>{{CSSRefExampleLink("cursor")}}</p>
<pre class="brush:css">
.foo { cursor: crosshair; }

/* use prefixed-value if "zoom-in" isn't supported */
.bar { cursor: -webkit-zoom-in;  cursor: -moz-zoom-in;  cursor: zoom-in; } 

/* standard cursor value as fallback for url() <u>must</u> be provided (doesn't work without) */
.baz { cursor: url(hyper.cur), auto }</pre>
<h2 id="Specifications" name="Specifications">仕様</h2>
<table class="standard-table">
  <thead>
    <tr>
      <th scope="col">仕様書</th>
      <th scope="col">策定状況</th>
      <th scope="col">コメント</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>{{SpecName('CSS3 UI', '#cursor', 'cursor')}}</td>
      <td>{{Spec2('CSS3 UI')}}</td>
      <td>幾つかのキーワード、ポジション構文、<code>url()</code> 関数形式の追加</td>
    </tr>
    <tr>
      <td>{{SpecName('CSS2.1', 'ui.html#cursor-propsy', 'cursor')}}</td>
      <td>{{Spec2('CSS2.1')}}</td>
      <td>最初期の定義</td>
    </tr>
  </tbody>
</table>
<h2 id="Browser_compatibility" name="Browser_compatibility">ブラウザ実装状況</h2>
<table class="compat-table">
  <tbody>
    <tr>
      <th>機能</th>
      <th>Chrome (WebKit)</th>
      <th>Firefox (Gecko)</th>
      <th>Internet Explorer</th>
      <th>Opera</th>
      <th>Safari</th>
    </tr>
    <tr>
      <td><code>auto</code>, <code>crosshair</code>, <code>default</code>, <code>move</code>, <code>text</code>, <code>wait</code>, <code>help</code>, <code>n-resize</code>, <code>e-resize</code>, <code>s-resize</code>, <code>w-resize</code>, <code>ne-resize</code>, <code>nw-resize</code>, <code>se-resize</code>, <code>sw-resize</code></td>
      <td>1.0</td>
      <td>1.0 (1.0)</td>
      <td>4.0</td>
      <td>7.0</td>
      <td>1.2</td>
    </tr>
    <tr>
      <td><code>hand </code> {{non-standard_inline}} (同等の表現である "<code>pointer</code>" で代用可能)</td>
      <td>{{CompatNo}}</td>
      <td>{{CompatNo}}</td>
      <td>4.0</td>
      <td>{{CompatNo}}</td>
      <td>{{CompatNo}}</td>
    </tr>
    <tr>
      <td><code>pointer</code>, <code>progress</code></td>
      <td>1.0</td>
      <td>1.0 (1.0|1.7)</td>
      <td>6.0</td>
      <td>7.x</td>
      <td>1.2 | 3.0</td>
    </tr>
    <tr>
      <td><code>url()</code> (参照:『<a class="new" href="/ja/docs/Web/CSS/cursor/url">CSS の cursor プロパティに於ける URL() 値の使用</a>』)</td>
      <td>1.0 (523)</td>
      <td>1.5 (1.8)<br />
        On MacOs 4.0 (2.0).</td>
      <td>6.0</td>
      <td>{{CompatNo}}</td>
      <td>3.0</td>
    </tr>
    <tr>
      <td><code>url()</code> 値用のポジション構文 {{experimental_inline}}</td>
      <td>{{CompatUnknown}}</td>
      <td>{{CompatVersionUnknown}}</td>
      <td>{{CompatNo}}</td>
      <td>{{CompatUnknown}}</td>
      <td>{{CompatUnknown}}</td>
    </tr>
    <tr>
      <td><code>not-allowed</code>, <code>no-drop</code>, <code>vertical-text</code>, <code>all-scroll</code>, <code>col-resize</code>, <code>row-resize</code></td>
      <td>1.0 (522)</td>
      <td>1.5 (1.8)</td>
      <td>6.0</td>
      <td>10.6</td>
      <td>3.0</td>
    </tr>
    <tr>
      <td><code>alias</code>, <code>cell</code>, <code>copy</code>, <code>ew-resize</code>, <code>ns-resize</code>, <code>nesw-resize</code>, <code>nwse-resize</code>, <code>context-menu</code></td>
      <td>1.0 (522 )[1]</td>
      <td>1.5 (1.8 )[1]</td>
      <td>{{CompatNo}}</td>
      <td>10.6 [1]</td>
      <td>3.0 [2]</td>
    </tr>
    <tr>
      <td><code>none</code></td>
      <td>5.0 (533)</td>
      <td>3.0 (1.9)</td>
      <td>9.0</td>
      <td>{{CompatNo}}</td>
      <td>5.0 [2]</td>
    </tr>
    <tr>
      <td><code>inherit</code></td>
      <td>1.0</td>
      <td>1.0</td>
      <td>8.0</td>
      <td>9.0</td>
      <td>1.2</td>
    </tr>
    <tr>
      <td><code>zoom-in</code>, <code>zoom-out</code></td>
      <td>1.0 (522) {{property_prefix("-webkit-")}}</td>
      <td>1.0 (1.4) {{property_prefix("-moz-")}}<br />
        24.0</td>
      <td>{{CompatNo}}</td>
      <td>11.6</td>
      <td>3.0 {{property_prefix("-webkit-")}}</td>
    </tr>
  </tbody>
</table>
<p>[1] Windows 上の Mozilla と WebKit では "<code>context-menu</code>" が適用されません。 Opera では問題ありません。<br />
  [2] Windows 上の Safari では、 <code>alias</code>、 <code>cell</code>、 <code>copy</code>、 <code>none</code>が適用されません(Mac は可か?)</p>
<h2 id="See_also" name="See_also">関連情報</h2>
<ul>
  <li><a href="/ja/docs/Web/CSS/cursor/url">CSS の cursor プロパティに於ける URL() 値の使用</a></li>
  <li>{{cssxref("pointer-events")}}</li>
  <li><a href="https://trac.webkit.org/export/37902/trunk/WebCore/manual-tests/cursor.html">Webkit's cursor demos</a> (拡張の "<code>zoom</code>"、"<code>zoom-out</code>"、"<code>grab</code>"、"<code>grabbing</code>" を含む)</li>
  <li><a href="https://msdn.microsoft.com/ja-jp/library/aa358795.aspx">Cursor Property (MSDN)</a></li>
  <li><a href="https://www.elektronotdienst-nuernberg.de/bugs/cursor.html">CSS 2.1 and CSS 3 cursor propery test</a></li>
</ul>
このリビジョンへ戻す