css:url链接去下划线+点击前黑色+点击时灰色+点击后黑色
一般的文章列表
加了样式之后的效果
附上css代码
/*点击前*/ a:link{ color: black; } /*点击后*/ a:visited{ color: black; } /*点击时*/ a:active{ color: grey; } /*去下划线*/ a{ text-decoration: none; }
一般的文章列表
加了样式之后的效果
附上css代码
/*点击前*/ a:link{ color: black; } /*点击后*/ a:visited{ color: black; } /*点击时*/ a:active{ color: grey; } /*去下划线*/ a{ text-decoration: none; }