CSS——阴影及超链接伪类

阴影

text-shadow: 阴影颜色,水平偏移。垂直偏移,阴影半径

#num{ text-shadow:black 5px 0px 15px; }

超链接伪类

/* 默认的颜色 */
a{
   text-decoration:none;
}
/* 鼠标悬浮的状态 */
a:hover{
   color:red;
}
/* 鼠标激活的状态 */
a:active{
   color:orange;
}

一般只用记住 a:hover 就行

posted @ 2021-08-16 17:11  cengxuyuan  阅读(38)  评论(0)    收藏  举报