如何更改网页上的鼠标指针图标?
当我将鼠标悬停在普通文本上时,有什么方法可以使用 javascript(或任何其他方法)更改鼠标指针图标,我希望它看起来像一只手,就像网页上的链接一样。
Is there any way to change mouse pointer icon using javascript(or any other method) when I hover it on a normal text on which I want it to appear like a hand as with links on a webpage.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
请参阅 http://www.w3schools.com/cssref/pr_class_cursor.asp
使用 css:
See http://www.w3schools.com/cssref/pr_class_cursor.asp
Using css:
查找 css 属性 cursor。
这是最好的方法。
Look up the css attribute cursor.
It's the best way to do it.
你可以这样使用:
You could use like: