可以将鼠标悬停在链接上时删除出现的手形光标吗?(或将其设置为普通指针) [英] Is it possible to remove the hand cursor that appears when hovering over a link? (or keep it set as the normal pointer)
本文介绍了可以将鼠标悬停在链接上时删除出现的手形光标吗?(或将其设置为普通指针)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想删除将鼠标悬停在超链接上时出现的手形光标.
I would like to remove the hand cursor that appears when you hover over a hyperlink.
我已经尝试过此CSS:
I have tried this css:
a.link {
cursor: pointer;
}
这:
a.link {
cursor: pointer !important;
}
当我将鼠标悬停在链接上时,它仍然变为手形.
And still it changes to the hand when I hover over the link.
有人对为什么会发生这种想法或使我实现这种效果的解决方案有任何想法吗?
Does anyone have any ideas as to why this happens or a solution that would enable me to achieve this effect?
推荐答案
这正是 cursor:pointer;
应该做的事情.
如果希望光标保持正常,则应使用 cursor:default
If you want the cursor to remain normal, you should be using cursor: default
这篇关于可以将鼠标悬停在链接上时删除出现的手形光标吗?(或将其设置为普通指针)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文