我有一个带有 class="button"
的 href。
我想要对它进行以下样式设置:
.button a:link {text-decoration: none}
.button a:visited {text-decoration: none}
.button a:active {text-decoration: none}
.button a:hover {text-decoration: none; background-color:yellow;color:blue}
为什么它不能工作? 如何为具有该类(
class="button"
)的设置样式?