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

2020-05-10 11:27:35易采站长站整理

向下左改变大小(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所定义的游标不能使用