CSS鼠标手势大全
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>CSS鼠标手势大全 - www.webdm.cn</title>
<style type="text/css">
<!--
span {display:block;line-height:30px;margin:5px 0;background:#f0f0f0;text-align:center;}
-->
</style>
</head>
<body> <span style="cursor:pointer;">手型</span>
<span style="cursor:hand;">手型</span>
<span style="cursor:crosshair;">crosshair 十字</span>
<span style="cursor:text;">text 文本</span>
<span style="cursor:wait;">wait 等待</span>
<span style="cursor:help;">help 问号</span>
<span style="cursor:e-resize;">e-resize 右的箭头</span>
<span style="cursor:ne-resize;">ne-resize 右上的箭头</span>
<span style="cursor:n-resize;">n-resize 上的箭头</span>
<span style="cursor:nw-resize;">nw-resize 左上的箭头</span>
<span style="cursor:w-resize;">w-resize 左的箭头</span>
<span style="cursor:sw-resize;">sw-resize 左下的箭头</span>
<span style="cursor:s-resize;">s-resize 下的箭头</span>
<span style="cursor:se-resize;">se-resize 右下的箭头</span>
<span style="cursor:move;">move 移动</span>
<br />
<p><a href="http://www.webdm.cn">网页代码站</a> - 最专业的代码下载网站 - 致力为中国站长提供有质量的代码!</p>
</body>
</html>
cursor:hand 与 cursor:pointer 的效果是一样,都像手形光标。但用FireFox浏览时才注意到使用cursor:hand在FireFox里并被支持。
cursor:hand :IE完全支持。但是在firefox是不支持的,没有效果。
cursor:pointer :是CSS2.0的标准。所以firefox是支持的,但是IE5.0既之前版本不支持。IE6开始支持。
附:cursor属性收集
光标类型 CSS
十字准心 cursor: crosshair;
手 cursor: pointer;
cursor: hand;
写两个是为了照顾IE5,它只认hand。
等待/沙漏 cursor: wait;
帮助 cursor: help;
无法释放 cursor: no-drop;
文字/编辑 cursor: text;
可移动对象 cursor: move;
向上改变大小(North) cursor: n-resize;
向下改变大小(South) cursor: s-resize;
向右改变大小(East) cursor: e-resize;
向左改变大小(West) cursor: w-resize;
向上右改变大小(North East) cursor: ne-resize;
向上左改变大小(North West) cursor: nw-resize;
向下右改变大小(South East) cursor: se-resize;
向下左改变大小(South West) cursor: sw-resize;
自动 cursor: auto;
禁止 cursor:not-allowed;
处理中 cursor: progress;
系统默认 cursor: default;
用户自定义(可用动画) cursor: url(‘ # ‘);
# = 光标文件地址 (注意文件格式必须为:.cur 或 .ani)。
最新文章
- JSPatch – 动态更新iOS APP
- 使用js把json字符串转为js对象的方法
- oracle定时器
- (原创)通用查询实现方案(可用于DDD)[附源码] -- 设计思路
- java call sap
- .NET基础篇——Entity Framework 数据转换层通用类
- atitit.设计模式(2) -----查询方式/ command 总结
- windows系统下输入法图标显示设置
- hadoop客户端如何配置
- Vivado Design Suite用户指南之约束的使用第一部分(介绍部分)
- 【你不一定知晓的】C#取消异步操作
- Effectively bypassing kptr_restrict on Android
- Mysql基础之 事务
- 【iCore1S 双核心板_ARM】例程十三:SDIO实验——读取SD卡信息
- 使用C#把发表的时间改为几个月,几天前,几小时前,几分钟前,或几秒前
- ASP.NET Web Pages:页面布局
- as3 object与dictionary区别
- 2460: [BeiJing2011]元素
- outline的兼容性及使用限制
- $in 操作符
热门文章
- 2017.11.6对比Gerber差异+确认元器件方向,封装
- Dockerfile 模版
- Lua基础---lua字符串库函数详解,实例及正则表达式
- Android 框架学习1:EventBus 3.0 的特点与如何使用
- Java一般要学多久?
- INIT: vesion 2.88 booting
- SQL—数据分析
- python Beautiful Soup的使用
- 简直offer-第四章解决面试题思路(二叉树中和为某一值的路径)
- 【WCF安全】WCF 自定义授权[用户名+密码+x509证书]