建站学习网,专业提供各类建站教程,网页素材,SEO资讯等建站资源!

网站模板_网站源码_网站素材_建站教程_建站学习网

当前位置:建站学习网 > DIV+CSS教程 > DIV CSS教程 >

css cursor 的可选值

更新时间:2017-01-08整理编辑:建站学习网阅读:0

 

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所定义的游标不能使用

本文网址:https://www.dedexuexi.com/divcss/jc/2292.html

本站部分文章搜集与网络,如有侵权请联系本站,转载请说明出处。

标签:技巧
收藏此文 赞一下!() 打赏本站

如本文对您有帮助,就请建站学习网抽根烟吧!

支付宝打赏
微信打赏
CSS3灵活的盒子模型(Flexible Box Module)
« 上一篇2017年01月08日
CSS Hack技术介绍及常用的Hack技巧集锦
2017年01月08日下一篇 »
  • DIV CSS如何给文字字体添加下划线?
    0阅读
    在css中可以使用text-decoration属性或border-bottom属性来给文字添加下划线样式。下面本篇文章就来给大家介绍一下,希望对大家有所帮助。方法1:使用text-decoration属性设置css的text-decoration属性用于指定添加到文本的修饰,其underline属...
  • 纯CSS3实现带动画效果导航菜单无需js
    0阅读
    随着互联网的发展,网页能表现的东西越来越多。由最开始单纯的文字和链接构成的网页,到后来的表格布局,再到div+css模式,现在发展到了 html+css3。网页能表达的东西越来越多,css3兴起已经
  • CSS定义超链接四个状态的正确顺序L-V-H-A
    0阅读
    css定义超链接是要有先后顺序的。否则,在某些浏览器里面有可能会出现某个样式不起作用的bug。不能正确显示想要的效果。 CSS属性的排列顺序: L-V-H-A 。 L-V-H-A是link、visited、hover、active的简写
  • 在ie7下css居中样式text-align:center;偏左问题解决方法
    0阅读
    css样式text-align:center;在ie7下偏左问题,想必有很多朋友的遇到过吧,下面有个不错的方法,大家可以参考下,希望对大家有所帮助 复制代码 代码如下: body { text-align:center; } 用ie7打开是居左的。
  • 对div盒子模型使用心得总结
    0阅读
    相信每一个从事web开发的人对盒子模型都有一个特殊的理解吧,本文也有一个理解并附有示例代码,喜欢的朋友可以参考下 盒子模型的计算 外边距(margin)+边框(border)+内边距(padding)+内容(content
 
QQ在线咨询