当前位置: 首页 > 图文教程 > 网页制作 > CSS样式表 > css cursor 的可选值(鼠标的各种样式)

CSS样式表
CSS网页布局
知道吗?H1标签同样也可以美化
CSS:用overflow代替left截取指定长度字符串
学习CSS了解单位em和px的区别
巧用CSS滤镜制作绚丽图片播放效果
PDF、ZIP、DOC链接的标注(CSS技巧)
DIV CSS制作网页时易犯的错误总结
CSS隐藏网页文字的几种常用方法
总结新手学CSS容易出现错误的内容
网站配色,CSS主色调配色方案
我们需要对CSS进行缩写的原因
从三方面加速CSS样式作用网页速度
CSS属性选择器的四种格式
CSS教程:text-indent隐藏文字出现虚线框outline
表单name与id的区别和相似之处
CSS让网页里的提交按钮变得更漂亮
小技巧:网页制作中段落缩进的方法
网页导航上用CSS标志当前页效果
CSS框架的利与弊(上)
Web标准:关于DOCTYPE

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


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2010-01-10   浏览: 62 ::
收藏到网摘: n/a

crosshair;

 

十字准心

The cursor render as a crosshair
游标表现为十字准线

cursor: pointer;
cursor: hand;
写两个是为了照顾IE5,它只认hand。

 

The cursor render as a pointer (a hand) that indicates a link
游标以暗示(手指)的形式来表明有一个连接

cursor: wait;

 

等待/沙漏

The cursor indicates that the program is busy (often a watch or an hourglass)
游标暗示当前程序正忙(一般为一块表或是一个沙漏)

cursor: help;

 

帮助

The cursor indicates that help is available (often a question mark or a balloon)
游标暗示当前位置可得到帮助(一般为问号或是气球)

cursor: no-drop;

 

无法释放

cursor: no-drop;

cursor: text;

 

文字/编辑

The cursor indicates text
游标暗示当前所处位置为文字内容

cursor: move;

 

可移动对象

The cursor indicates something that should be moved
游标暗示一些东西应该被移动

cursor: n-resize;

 

向上改变大小(North)

The cursor indicates that an edge of a box is to be moved up (north)
边缘可向上移动(北)

cursor: s-resize;

 

向下改变大小(South)

The cursor indicates that an edge of a box is to be moved down (south)
边缘可向下方移动(南)

cursor: e-resize;

 

向右改变大小(East)

The cursor indicates that an edge of a box is to be moved right (east)
box边缘可向右(东)边移动

cursor: w-resize;

向左改变大小(West)

The cursor indicates that an edge of a box is to be moved left (west)
边缘可向左移动(西)

cursor: ne-resize;

 

向上右改变大小(North East)

The cursor indicates that an edge of a box is to be moved up and right (north/east)
游标暗示box的边缘可向右上方移动(东北方向)

cursor: nw-resize;

 

向上左改变大小(North West)

The cursor indicates that an edge of a box is to be moved up and left (north/west)
边缘可向左上方移动(西北)

cursor: se-resize;

 

向下右改变大小(South East)

The cursor indicates that an edge of a box is to be moved down and right (south/east)
边缘可向右下方移动(东南)

cursor: sw-resize;

 

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