选择器优先级:
从弱到强
HTML选择器 class选择器 id选择器
相同的 靠近元素的优先级别高
组合选择器可以多个选择器一起使用
a:link 正常链接的样式
a:hover 鼠标放上去的样式
a:active 选择链接时的样式
a:visited 已经访问过的链接样式
background-color 背景颜色
background-image:url(路径) 背景图片
background-repeat:repeat 重复平铺满屏
background-repeat:repeat-x 向x轴平铺
background-repeat:repeat-y 向y轴平铺
background-repeat:no-repeat 不重复
background-position:(right center left top center botton)用数值表示位置
背景图片位置 只有一个时默认居中居中
简写:background:背景颜色 URL 重复 位置