当前位置:网站首页>鼠标变小手
鼠标变小手
2020-11-07 23:13:00 【讓丄帝愛伱】
onmouseover事件鼠标变小手实现方法:
<!-- javaScript实现:onmouseover="this.style.cursor='hand'" -->
<input type="button" onmouseover="this.style.cursor='hand'"/>
<!-- CSS实现:cursor:pointer; -->
<input type="button" style="cursor:pointer;">
cursor其他取值
cursor值 | 图形 |
---|---|
auto | 标准光标 |
default | 标准箭头 |
pointer, hand | 手形光标 |
wait | 等待光标 |
text | I形光标 |
vertical-text | 水平I形光标 |
no-drop | 不可拖动光标 |
not-allowed | 无效光标 |
help | 帮助光标 |
all-scroll | 三角方向标 |
move | 移动标 |
crosshair | 十字标 |
版权声明
本文为[讓丄帝愛伱]所创,转载请带上原文链接,感谢
https://my.oschina.net/u/2425659/blog/4707749
边栏推荐
- Data transmission of asynchronous serial communication controlled by group bus communication
- 爆一个VS2015 Update1更新带来的编译BUG【已有解决方案】
- What magic things can a line of Python code do?
- Abnormal + Abstract
- Assembly function MCALL systemstack asmcgocal system call
- 获取树形菜单列表
- 云计算之路-出海记:整一台 aws 免费云服务器
- 你可能不知道的Animation动画技巧与细节
- Cryptography - Shangsi Valley
- Judging whether paths intersect or not by leetcode
猜你喜欢
面部识别:攻击类型和反欺骗技术
Learn Scala if Else statement
一次公交卡被“盗刷”事件带来的思考
Improvement of maintenance mode of laravel8 update
GoLand writes a program with template
Problems of Android 9.0/p WebView multi process usage
云计算之路-出海记:整一台 aws 免费云服务器
看一遍就理解,图解单链表反转
Judging whether paths intersect or not by leetcode
Got timeout reading communication packets解决方法
随机推荐
CPP (4) boost installation and basic use for Mac
laravel8更新之维护模式改进
golang 匿名结构体成员,具名结构体成员,继承,组合
Wechat applet request reported 400 error @ requestbody failed to receive
Android 9.0/P WebView 多进程使用的问题
Speed up your website with jsdelivr
使用jsDelivr加速你的网站
Git code submission operation, and git push prompt failed to push some refs'xxx '
Assembly function MCALL systemstack asmcgocal system call
More than 50 object detection datasets from different industries
0.计算机简史
构造请求日志分析系统
The instanceof operator in ecmascript7 specification
Search and replace of sed
面部识别:攻击类型和反欺骗技术
C/C++编程笔记:C语言相比其他编程语言,有什么不一样的优势?
Wanxin Finance
虚拟DOM中给同一层级的元素设置固定且唯一的key为什么能提高性能
Got timeout reading communication packets解决方法
Qt混合Python开发技术:Python介绍、混合过程和Demo