`
deng131
  • 浏览: 662644 次
  • 性别: Icon_minigender_1
  • 来自: 深圳
社区版块
存档分类
最新评论

CSS鼠标指针cursor属性

阅读更多
大家都知道常用的鼠标指针样式:

    
    * auto: 正常鼠标
    * crosshair: 十字鼠标
    * default: 默认鼠标
    * pointer: 点状鼠标
    * move: 移动鼠标
    * e-resize:改变大小
    * text: 文字鼠标
    * wait: 等待鼠标
    * help: 求助鼠标
    * progress: 过程鼠标
    * inherit: 继承
    * [<uri>]: 用户定义

不同的样式展现效果:http://www.dreamdu.com/css/exe_property_cursor/

对于用户自定义,如:a:hover{cursor: url('http://xx/image.ani'); //对资源格式要求.在有些网站为了吸引用户也常采用自定义鼠标样式,如QQ空间就使用了这样方式展现。同时这些样式也带有一定的语义,如:wait,propress,在对用户体验上就十分的友好。如<a></a>标签pointer样式,但其他的元素却没有这个样式,所以有时会去模拟加上这个css的cursor效果。
1
2
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics