背景属性可以设置背景颜色、背景图片、背景平铺、背景图片位置、背景图像固定。
背景颜色:background-color
背景图片:background-image
背景平铺:background-repeat: repeat、 no-repeat、repeat-x、repeat-y
背景图片位:background-position: x y;
背景图像固定:background-attachment: scroll | fixed
background: 背景颜色 背景图片地址 背景平铺 背景图像滚动 背景图片位置
背景色半透明:background: rgba(0, 0, 0, 0.3); 最后一个参数是alpha透明度,取值范围在0-1