CSS cursor 屬性-鼠標形狀

cursor -- 定義鼠標樣式取值: [ [<uri> ,]* [ auto | crosshair | default | pointer | move | e-resize | ne-resize | nw-resize | n-resize | se-resize | sw-resize | s-resize | w-resize | text | wait | help | progress ] ] | inherit
[<uri> ,]*: 根據用戶定義的資源顯示
auto: 正常鼠標
crosshair: 十字鼠標
default: 默認鼠標
pointer: 點狀鼠標
move: 移動鼠標
e-resize,ne-resize,nw-resize,n-resize,se-resize,sw-resize,s-resize,w-resize: 改變大小鼠標
text: 文字鼠標
wait: 等待鼠標
help: 求助鼠標
progress: 過程鼠標
inherit: 繼承
初始值: auto
繼承性: 是
適用於: 全部元素
cursor: 中文"鼠標"的意思.



//代碼示例
p#auto{ 	cursor:auto;}
p#text{ 	cursor:text;}
p#wait{ 	cursor:wait;}
p#help{ 	cursor:help;}
p#progress{ 	cursor:progress;}
相關文章
相關標籤/搜索