css疑难杂症:鼠标、超链接下划线去除

2022-11-15  本文已影响0人  王哈哈zzz

一、cursor:pointer; 或 cursor:hand; 手型。

扩展:

二、去掉a标签下划线的方法:使用text-decoration属性,在a标签中设置“text-decoration”属性的值为“none”即可;具体语法格式“a {text-decoration: none;}”。

上一篇 下一篇

猜你喜欢

热点阅读