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: 点状鼠标(hand,写两个是为了照顾IE5,它只认hand。)
    • move: 移动鼠标
    • e-resize(East),ne-resize(North East),nw-resize(North West),n-resize(North),se-resize(South East),sw-resize(South West),s-resize(South),w-resize(West): 改变大小鼠标
    • text: 文字鼠标
    • wait: 等待鼠标
    • help: 求助鼠标
    • progress: 过程鼠标,处理中
    • inherit: 继承
    • no-drop:无法释放,不可拖动
    • not-allowed:禁止
    •  url(' # ');# = 光标文件地址      (注意文件格式必须为:.cur 或 .ani或者.png)。注意:在定义完自定义的游标之后在末尾加上一般性的游标,以防那些url所定义的游标不能使用
    • 注意:要加上默认样式
原文地址:https://www.cnblogs.com/jymz/p/3964181.html