这个不能,因为你这是属于鼠标移动的一个事件,如果你直接写a那属于给a添加样式,两个东西不同的。默认就是有手势的吧。就是鼠标方式的时候显示手的状态,没有区别。
a标签你加了href属性以后自然就是手,不用写这个,如果你不想要链接可以写成 这样就既是手,又没有跳转内容 a本来就可以变手型啊!
When i hover over a icon the cursor still is a arow (default). I want that the cursor type changes to pointer when i hover over a icon. So right now it is this: I want this on hover: I have something like this .cursor-pointer { cursor: pointer; }, however i do not ...
a:hover {cursor: pointer;}代表移上去鼠标样式是手的形状A.正确B.错误的答案是什么.用刷刷题APP,拍照搜索答疑.刷刷题(shuashuati.com)是专业的大学职业搜题找答案,刷题练习的工具.一键将文档转化为在线题库手机刷题,以提高学习效率,是学习的生产力工具
cursor:pointer; opacity: 0.8; } img a:hover, img a:focus, img a:active {opacity: 1.0} Nancy Nancy O'Shea— Product User, Community Expert & Moderator Votes 2 Upvotes Translate Translate Report Report Reply nigelh70638339 AUTHOR Participant , Apr 16, 2017 Copy link to cl...
cursor:pointer; opacity: 0.8; } img a:hover, img a:focus, img a:active {opacity: 1.0} Nancy Nancy O'Shea— Product User, Community Expert & Moderator Votes 2 Upvotes Translate Translate Report Report Reply nigelh70638339 AUTHOR Participant , Apr 16, 2017 Copy link to cli...