当前位置:网站首页>鼠标变小手
鼠标变小手
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
边栏推荐
猜你喜欢
Git code submission operation, and git push prompt failed to push some refs'xxx '
使用 Xunit.DependencyInjection 改造测试项目
Get tree menu list
计组-总线通信控制之异步串行通信的数据传输
Goland 编写含有template的程序
来自不同行业领域的50多个对象检测数据集
2020-11-07:已知一个正整数数组,两个数相加等于N并且一定存在,如何找到两个数相乘最小的两个数?
14000 word distributed transaction principle analysis, master all of them, are you afraid of being asked in the interview?
ubuntu实时显示cpu、内存占用率
[solution] distributed timing task solution
随机推荐
delphi10的rest.json与system.json的踩坑
16. File transfer protocol, vsftpd service
Got timeout reading communication packets解决方法
Web安全(四)---XSS攻击
Face recognition: attack types and anti spoofing techniques
Goland 编写含有template的程序
获取树形菜单列表
Data structure and sorting algorithm
CPP (2) creating CPP project
ROS学习---远程启动ROS节点
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?
Adobe Lightroom /Lr 2021软件安装包(附安装教程)
Web Security (1) -- browser homology strategy
wanxin金融
Search and replace of sed
你可能不知道的Animation动画技巧与细节
C语言I博客作业03
China Telecom announces 5g SA commercial scale in 2020
什么都2020了,LINQ查询你还在用表达式树
到底选openstack还是vmware?