当前位置:网站首页>鼠标变小手
鼠标变小手
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
边栏推荐
- Qt混合Python开发技术:Python介绍、混合过程和Demo
- More than 50 object detection datasets from different industries
- What kind of technical ability should a programmer who has worked for 1-3 years? How to improve?
- 16. File transfer protocol, vsftpd service
- Principles of websocket + probuf
- Insight -- the application of sanet in arbitrary style transfer
- 团灭 LeetCode 股票买卖问题
- QT hybrid Python development technology: Python introduction, hybrid process and demo
- Search and replace of sed
- go wire 依赖注入入门
猜你喜欢

C / C + + Programming Notes: what are the advantages of C compared with other programming languages?

爆一个VS2015 Update1更新带来的编译BUG【已有解决方案】

The instanceof operator in ecmascript7 specification

The road of cloud computing: a free AWS cloud server

关于晋升全栈工程师,从入门到放弃的神功秘籍,不点进来看一看?

What kind of technical ability should a programmer who has worked for 1-3 years? How to improve?

Insight -- the application of sanet in arbitrary style transfer

Jingtao project day09
![[original] the influence of arm platform memory and cache on the real-time performance of xenomai](/img/cb/0395507ece572556b2bab373f013a5.jpg)
[original] the influence of arm platform memory and cache on the real-time performance of xenomai

面部识别:攻击类型和反欺骗技术
随机推荐
Abnormal + Abstract
Goland 编写含有template的程序
Qt混合Python开发技术:Python介绍、混合过程和Demo
来自不同行业领域的50多个对象检测数据集
use Xunit.DependencyInjection Transformation test project
Learn Scala if Else statement
Improvement of maintenance mode of laravel8 update
See once to understand, graphic single chain table inversion
你可能不知道的Animation动画技巧与细节
Get tree menu list
Git code submission operation, and git push prompt failed to push some refs'xxx '
Go之发送钉钉和邮箱
Search and replace of sed
golang 匿名结构体成员,具名结构体成员,继承,组合
微服务的出现和意义的探索
构造请求日志分析系统
CPP (1) installation of cmake
京淘项目day09
Web Security (4) -- XSS attack
Delphi10's rest.json And system.json Step on the pit