diff --git a/docs/css.html b/docs/css.html index f202a312..978e344d 100644 --- a/docs/css.html +++ b/docs/css.html @@ -334,6 +334,16 @@
选择器 | 说明 |
---|---|
a:link | 链接正常 # |
a:active | 链接处于点击状态 # |
a:hover | 鼠标悬停链接 # |
a:visited | 访问链接 # |
/* 未访问链接 */
+a:link { color: blue; }
+/* 已访问链接 */
+a:visited { color: purple; }
+/* 用户鼠标悬停 */
+a:hover { background: yellow; }
+/* 激活链接 */
+a:active { color: red; }
+