请教!

jyj13 2002-11-23 05:10:44
能不能讲讲,那种是链接的地方,却没有下划线。要鼠标移上去才才变成有下划线的链接。的效果是怎么实现的。谢谢。
...全文
65 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
希默软件 2002-11-23
  • 打赏
  • 举报
回复
<style>
a:visited { text-decoration: none }
a:link { text-decoration: none }
a:hover { text-decoration: underline }
a:active { text-decoration: none }
</style>
wangxj0600 2002-11-23
  • 打赏
  • 举报
回复
这个是使用了css来改变的,<style>
a:visited { text-decoration: none }
a:link { text-decoration: none }
a:hover { text-decoration: underline }
a:active { text-decoration: none }
</style>
其中a:hover是当鼠标移上去的时候触发的,

87,992

社区成员

发帖
与我相关
我的任务
社区描述
Web 开发 JavaScript
社区管理员
  • JavaScript
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧