为什么即使 h2
元素有 text-decoration: none
作为描述,帖子标题仍带有下划线?
最佳答案
你需要把 a
上的 text-decoration 设置为 none
h2 a {text-decoration:none;}
关于css - 文字装饰不起作用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8116331/
为什么即使 h2
元素有 text-decoration: none
作为描述,帖子标题仍带有下划线?
最佳答案
你需要把 a
上的 text-decoration 设置为 none
h2 a {text-decoration:none;}
关于css - 文字装饰不起作用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8116331/