我们对背景进行平铺设置的时候经常用到:background-repeat,其对应的值有:repeat | no-repeat | repeat-x | repeat-y
repeat : 默认值。背景图像在纵向和横向上平铺
no-repeat : 背景图像不平铺
repeat-x : 背景图像仅在横向上平铺
repeat-y : 背景图像仅在纵向上平铺
举例:background: url("images/aardvark.gif"); background-repeat: repeat-y;