1.背景颜色
background-color
2.背景图片
background-image
3.背景平铺
background-repeat,默认情况都是平铺
background-repeat:no-repeat;
background-repeat:repeat-x;横向上平铺
background-repeat:repeat-y;纵向下平铺
4.背景图片位置
background-position5.背景图像
background-attachment
6.背景复合写法
background: 没有特定书写顺序;7.背景半透明
background- rgba(0,0,0,0.3);
a 表示alpha,取值范围在0~1之间
浙公网安备 33010602011771号