background属性的值的书写顺序官方并没有强制标准的。为了可读性,建议大家如下写: background:背景颜色 背景图片地址 背景平铺 背景滚动 背景位置 background: transparent url(image.jpg) repeat-y scroll 50% 0 ;