background-repeat
Values
<bg-repeat-style>
Applicable to...
All elements
Inherited
No
Description
Defines the pattern for one or multiple background images. The repetition starts with the original image that is defined by background-image
and positioned with background-position
and background-origin
. If you use the keywords space
or round
the background image will be repeated as often as it fits into the background-area without cutting of parts of the images. The keyword space
will create spacings between the images, while round
will stretch the images. Note that repeat-x
will have the same result as repeat no-repeat
and repeat-y
will have the same result as no-repeat repeat
.
Examples
Compatibility
Chrome | Firefox | Internet Explorer | Opera | Safari |
---|---|---|---|---|
1.0+ | 1.0+ | 4.0+ | 3.5+ | 1.0+ |
Additional support note
The keywords space
and round
are only supported by newer browsers.