CSS字体文本样式超链接伪类阴影背景
CSS字体样式:
font-family: 字体
font-size: 大小
font-weight: 粗细
color: 颜色
CSS文本样式:
text-align: 排版(:center居中)
text-indent:首行缩进
line-height: 行高
text-decoration: 装饰(:none 如去出a标签下划线,上中下划线...)
超链接伪类:
/*未访问的链接*/
a:link {
color: red
}
/*已访问的链接*/
a:visited {
color: red
}
/*鼠标悬浮的状态*/
a:hover{
color: red;
text-decoration: none;
}
/*鼠标选中未释放*/
a:active {
color: red
}
阴影:
text-shadow: 阴影颜色,水平偏移,垂直偏移,阴影半径;
背景:
background: red url("") 20px 20px no-repeat;(颜色,地址,大小,平铺方式)