<style>
a {
text-decoration: none;
color: #000;
}
/* 状态一: 未被访问过的链接 */
a:link {
text-decoration: none;
color: #000;
}
/* 状态二: 已经访问过的链接 */
a:visited {
text-decoration: none;
color: #000;
}
/* 状态三: 鼠标划过(停留)的链接(默认红色) */
a:hover {
text-decoration: none;
color: #000;
}
/* 状态四: 被点击的链接 */
a:active {
text-decoration: none;
color: #000;
}
</style>
我使用时未加color时, 样式不会生效
这应该是覆盖原本的样式