日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

css cursor 的可选值(鼠标的各种样式)

發布時間:2024/4/17 编程问答 46 豆豆
生活随笔 收集整理的這篇文章主要介紹了 css cursor 的可选值(鼠标的各种样式) 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

crosshair;

?

十字準心

The cursor render as a crosshair
游標表現為十字準線

cursor: pointer;?
cursor: hand;
寫兩個是為了照顧IE5,它只認hand。

?

The cursor render as a pointer (a hand) that indicates a link
游標以暗示(手指)的形式來表明有一個連接

cursor: wait;

?

等待/沙漏

The cursor indicates that the program is busy (often a watch or an hourglass)
游標暗示當前程序正忙(一般為一塊表或是一個沙漏)

cursor: help;

?

幫助

The cursor indicates that help is available (often a question mark or a balloon)
游標暗示當前位置可得到幫助(一般為問號或是氣球)

cursor: no-drop;

?

無法釋放

cursor: no-drop;

cursor: text;

?

文字/編輯

The cursor indicates text
游標暗示當前所處位置為文字內容

cursor: move;

?

可移動對象

The cursor indicates something that should be moved
游標暗示一些東西應該被移動

cursor: n-resize;

?

向上改變大小(North)

The cursor indicates that an edge of a box is to be moved up (north)
邊緣可向上移動(北)

cursor: s-resize;

?

向下改變大小(South)

The cursor indicates that an edge of a box is to be moved down (south)
邊緣可向下方移動(南)

cursor: e-resize;

?

向右改變大小(East)

The cursor indicates that an edge of a box is to be moved right (east)
box邊緣可向右(東)邊移動

cursor: w-resize;

?

向左改變大小(West)

The cursor indicates that an edge of a box is to be moved left (west)
邊緣可向左移動(西)

cursor: ne-resize;

?

向上右改變大小(North East)

The cursor indicates that an edge of a box is to be moved up and right (north/east)
游標暗示box的邊緣可向右上方移動(東北方向)

cursor: nw-resize;

?

向上左改變大小(North West)

The cursor indicates that an edge of a box is to be moved up and left (north/west)
邊緣可向左上方移動(西北)

cursor: se-resize;

?

向下右改變大小(South East)

The cursor indicates that an edge of a box is to be moved down and right (south/east)
邊緣可向右下方移動(東南)

cursor: sw-resize;

?

向下左改變大小(South West)

The cursor indicates that an edge of a box is to be moved down and left (south/west)
邊緣可向左下方移動(西南)

cursor: auto;

?

自動

The browser sets a cursor
瀏覽器設置一個游標

cursor:not-allowed;

?

禁止

cursor:not-allowed;

cursor: progress;

?

處理中

cursor: progress;

cursor: default;

?

系統默認

The default cursor (often an arrow)
默認的游標狀態(通常為一個箭頭)

cursor: url(' # ');
# = 光標文件地址????? (注意文件格式必須為:.cur 或 .ani)。

?

用戶自定義(可用動畫)

The url of a custom cursor to be used.
自定義游標的url位置

Note:?Always define a generic cursor at the end of the list in case none of the url-defined cursors can be used
注意:在定義完自定義的游標之后在末尾加上一般性的游標,以防那些url所定義的游標不能使用

轉載于:https://www.cnblogs.com/steamedCray/p/5053461.html

總結

以上是生活随笔為你收集整理的css cursor 的可选值(鼠标的各种样式)的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。