<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                合規國際互聯網加速 OSASE為企業客戶提供高速穩定SD-WAN國際加速解決方案。 廣告
                # CSS cursor 屬性 ## 實例 一些不同的光標: ``` span.crosshair {cursor:crosshair;} span.help {cursor:help;} span.wait {cursor:wait;} ``` ## 瀏覽器支持 | IE | Firefox | Chrome | Safari | Opera | | --- | --- | --- | --- | --- | 所有主流瀏覽器都支持 cursor 屬性。 注釋:Opera 9.3 和 Safari 3 不支持 _url_ 值。 注釋:任何版本的 Internet Explorer (包括 IE8)都不支持屬性值 "inherit"。 ## 定義和用法 cursor 屬性規定要顯示的光標的類型(形狀)。 該屬性定義了鼠標指針放在一個元素邊界范圍內時所用的光標形狀(不過 CSS2.1 沒有定義由哪個邊界確定這個范圍)。 | 默認值: | auto | | --- | --- | | 繼承性: | yes | | --- | --- | | 版本: | CSS2 | | --- | --- | | JavaScript 語法: | _object_.style.cursor="crosshair" | | --- | --- | ## 可能的值 | 值 | 描述 | | --- | --- | | _url_ | 需使用的自定義光標的 URL。 注釋:請在此列表的末端始終定義一種普通的光標,以防沒有由 URL 定義的可用光標。 | | default | 默認光標(通常是一個箭頭) | | auto | 默認。瀏覽器設置的光標。 | | crosshair | 光標呈現為十字線。 | | pointer | 光標呈現為指示鏈接的指針(一只手) | | move | 此光標指示某對象可被移動。 | | e-resize | 此光標指示矩形框的邊緣可被向右(東)移動。 | | ne-resize | 此光標指示矩形框的邊緣可被向上及向右移動(北/東)。 | | nw-resize | 此光標指示矩形框的邊緣可被向上及向左移動(北/西)。 | | n-resize | 此光標指示矩形框的邊緣可被向上(北)移動。 | | se-resize | 此光標指示矩形框的邊緣可被向下及向右移動(南/東)。 | | sw-resize | 此光標指示矩形框的邊緣可被向下及向左移動(南/西)。 | | s-resize | 此光標指示矩形框的邊緣可被向下移動(南)。 | | w-resize | 此光標指示矩形框的邊緣可被向左移動(西)。 | | text | 此光標指示文本。 | | wait | 此光標指示程序正忙(通常是一只表或沙漏)。 | | help | 此光標指示可用的幫助(通常是一個問號或一個氣球)。 | ## TIY 實例 [改變光標](/tiy/t.asp?f=csse_cursor) 本例演示如何改變光標。 ``` <html> <body> <p>請把鼠標移動到單詞上,可以看到鼠標指針發生變化:</p> <span style="cursor:auto"> Auto</span><br /> <span style="cursor:crosshair"> Crosshair</span><br /> <span style="cursor:default"> Default</span><br /> <span style="cursor:pointer"> Pointer</span><br /> <span style="cursor:move"> Move</span><br /> <span style="cursor:e-resize"> e-resize</span><br /> <span style="cursor:ne-resize"> ne-resize</span><br /> <span style="cursor:nw-resize"> nw-resize</span><br /> <span style="cursor:n-resize"> n-resize</span><br /> <span style="cursor:se-resize"> se-resize</span><br /> <span style="cursor:sw-resize"> sw-resize</span><br /> <span style="cursor:s-resize"> s-resize</span><br /> <span style="cursor:w-resize"> w-resize</span><br /> <span style="cursor:text"> text</span><br /> <span style="cursor:wait"> wait</span><br /> <span style="cursor:help"> help</span> </body> </html> ``` ## 相關頁面 CSS 教程:[CSS 定位](/css/css_positioning.asp "CSS 定位 (Positioning)") HTML DOM 參考手冊:[cursor 屬性](/jsref/prop_style_cursor.asp "HTML DOM cursor 屬性")
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看