關於CSS更改滑鼠為手狀樣式的介紹

來源:互聯網
上載者:User
這篇文章主要介紹了CSS更改滑鼠為手狀樣式的相關資料,非常不錯,具有參考借鑒價值,需要的朋友可以參考下

在自行設定的p或者其他標籤中,為了更好的體驗效果,會將在滑動過程中,將滑鼠變為手勢

簡單總結下css對應的樣式。

所在的p中,添加cursor:pointer即可。

樣本:

<p id="doPrint" style="border: solid;width: 64%;margin: 0% 20%;height: 65%;display: block;cursor:pointer;">             手勢變化地區     </p>

對應的屬性值還有如下:

auto                    :標準游標       default                 :標準箭頭       pointer, hand           :手形游標       wait                    :等待游標       text                    :I形游標       vertical-text           :水平I形游標       no-drop                 :不可拖動游標       not-allowed             :無效游標       help                    :協助游標       all-scroll              :三角方向標       move                    :移動標       crosshair               :十字標

以上就是本文的全部內容,希望對大家的學習有所協助,更多相關內容請關注topic.alibabacloud.com!

相關文章

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.