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

日期:2021-01-20 类型:科技新闻 

关键词:html网页制作,php网页制作,网页设计稿,网页编辑工具,学生网页设计模板

crosshair;

 

10字准心

The cursor render as a crosshair
游标主要表现为10字准线

cursor: pointer;
cursor: hand;
写两个是以便照料IE5,它只认hand。

 

The cursor render as a pointer (a hand) that indicates a link
游标以暗示(手指)的方式来说明有1个联接

cursor: wait;

 

等候/沙漏

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

cursor: help;

 

协助

The cursor indicates that help is available (often a question mark or a balloon)
游标暗示当今部位可获得协助(1般为问号或是气球)

cursor: no-drop;

 

没法释放出来

cursor: no-drop;

cursor: text;

 

文本/编写

The cursor indicates text
游标暗示当今所处部位为文本內容

cursor: move;

 

可挪动目标

The cursor indicates something that should be moved
游标暗示1些物品应当被挪动

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
访问器设定1个游标

cursor:not-allowed;

 

严禁

cursor:not-allowed;

cursor: progress;

 

解决中

cursor: progress;

cursor: default;

 

系统软件默认设置

The default cursor (often an arrow)
默认设置的游标情况(一般为1个箭头)

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
留意:在界定完自定的游标以后在结尾再加1般性的游标,防止那些url所界定的游标不可以应用