更新時間:2021年09月07日14時59分 來源:傳智教育 瀏覽次數(shù):
CSS中可以用cursor屬性來定義鼠標指針在一個元素邊界范圍內(nèi)時所用的光標形狀,語法為:
cursor: 屬性;
屬性值 | 語法 | 描述 | 鼠標樣式 |
---|---|---|---|
default |
cursor: default; |
默認 | ![]() |
pointer |
cursor: pointer; |
小手 | ![]() |
move |
cursor: move; |
移動 | ![]() |
text |
cursor: text; |
文本 | ![]() |
not-allowed |
cursor: not-allowed; |
禁止 | ![]() |
猜你喜歡: