background-repeat:<repeat-style> [ , <repeat-style> ]*
<repeat-style> = repeat-x | repeat-y | [repeat | no-repeat | space | round]{1,2}
默认值:repeat
适用于:所有元素
继承性:无
动画性:否
计算值:指定值
媒 体:视觉
1~2
个参数值,如果提供两个参数值,第一个用于横向,第二个用于纵向;提供一个,则同时应用于横向与纵向,特殊值repeat-x和repeat-y除外,因为repeat-x相当于repeat no-repeat,repeat-y相当于no-repeat repeat,即其实repeat-x和repeat-y等价于提供了2个参数值Values | IE | Firefox | Chrome | Safari | Opera | iOS Safari | Android Browser | Android Chrome |
---|---|---|---|---|---|---|---|---|
Basic Support | 8.0+ | 40.0+ | 40.0+ | 8.0+ | 40.0+ | 8.0+ | 4.4+ | 28.0+ |
2个参数值 space与round关键字 Multiple background repeat |
8.0 | |||||||
9.0+ |