当前位置:网站首页>鼠标变小手
鼠标变小手
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
边栏推荐
- go wire 依赖注入入门
- Idea - the. IML file was not automatically generated by the project
- Face recognition: attack types and anti spoofing techniques
- 计组-总线通信控制之异步串行通信的数据传输
- 【解决方案】分布式定时任务解决方案
- Ladongo open source full platform penetration scanner framework
- C language I blog assignment 03
- Got timeout reading communication packets解决方法
- Qt混合Python开发技术:Python介绍、混合过程和Demo
- 学习Scala IF…ELSE 语句
猜你喜欢
微服务的出现和意义的探索
来自不同行业领域的50多个对象检测数据集
Cryptography - Shangsi Valley
什么都2020了,LINQ查询你还在用表达式树
WPF personal summary on drawing
[C + + learning notes] how about the simple use of the C + + standard library STD:: thread?
Basic knowledge of C + +
云计算之路-出海记:整一台 aws 免费云服务器
看一遍就理解,图解单链表反转
QT hybrid Python development technology: Python introduction, hybrid process and demo
随机推荐
Judging whether paths intersect or not by leetcode
Qt混合Python开发技术:Python介绍、混合过程和Demo
Basic operation of database
一次公交卡被“盗刷”事件带来的思考
Improvement of maintenance mode of laravel8 update
android基础-RadioButton(单选按钮)
GoLand writes a program with template
These core technology of object-oriented, after you master it, you can have a good interview
洞察——风格注意力网络(SANet)在任意风格迁移中的应用
16. File transfer protocol, vsftpd service
虚拟DOM中给同一层级的元素设置固定且唯一的key为什么能提高性能
C language I blog assignment 03
来自不同行业领域的50多个对象检测数据集
Tail delivery
VC6兼容性及打开文件崩溃问题解决
Learn Scala if Else statement
Stack bracket matching
CPP (3) what is cmake
[original] the influence of arm platform memory and cache on the real-time performance of xenomai
Data transmission of asynchronous serial communication controlled by group bus communication