## 背景(background)
background是最常用的簡寫之一,它包含以下屬性:
1. background-color: color || #hex || RGB(% || 0-255) || RGBa;
2. background-image:url();
3. background-repeat: repeat || repeat-x || repeat-y || no-repeat;
4. background-position: X Y || (top||bottom||center) (left||right||center);
5. background-attachment: scroll || fixed;
background的簡寫可以大大的提高css的效率:
`background: #fff url(img.png) no-repeat 0 0;`
background的簡寫也有些默認值:
`background: transparent none repeat scroll top left;`
background屬性的值不會繼承,你可以只聲明其中的一個,其它的值會被應用默認的。