当前位置:网站首页>鼠标变小手
鼠标变小手
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
边栏推荐
- Static + code block + polymorphism + exception
- Idea - the. IML file was not automatically generated by the project
- Thinkphp6中where条件中字段与字段比较条件的写法
- More than 50 object detection datasets from different industries
- 团灭 LeetCode 股票买卖问题
- IDEA-项目未自动生成 .iml 文件
- Python 图片识别 OCR
- android基础-RadioButton(单选按钮)
- Data structure and sorting algorithm
- On the concurrency of update operation
猜你喜欢
The road of cloud computing: a free AWS cloud server
C/C++编程笔记:C语言相比其他编程语言,有什么不一样的优势?
delphi10的rest.json与system.json的踩坑
Hand tearing algorithm - handwritten singleton mode
Qt混合Python开发技术:Python介绍、混合过程和Demo
See once to understand, graphic single chain table inversion
The instanceof operator in ecmascript7 specification
洞察——风格注意力网络(SANet)在任意风格迁移中的应用
The emergence and significance of micro service
About the promotion of the whole stack of engineers, from the introduction to give up the secret arts, do not click in to have a look?
随机推荐
Speed up your website with jsdelivr
Reflection on a case of bus card being stolen and swiped
GoLand writes a program with template
C / C + + Programming Notes: what are the advantages of C compared with other programming languages?
The instanceof operator in ecmascript7 specification
Android Basics - RadioButton (radio button)
Face recognition: attack types and anti spoofing techniques
CPP (3) what is cmake
Web Security (4) -- XSS attack
A compilation bug brought by vs2015 Update1 update [existing solutions]
Learn Scala if Else statement
Qt混合Python开发技术:Python介绍、混合过程和Demo
Web安全(一)---浏览器同源策略
来自不同行业领域的50多个对象检测数据集
The road of cloud computing: a free AWS cloud server
微服务的出现和意义的探索
Adobe Prelude /Pl 2020软件安装包(附安装教程)
Go之发送钉钉和邮箱
On the concurrency of update operation
Sentry 安装