Specifies how a background image repeats for an element.
Platform Support
IE | Netscape | Mozilla | Opera | Safari |
---|---|---|---|---|
4.0+ | 4.0+ | 1.0+ | 4.0+ | 1.0+ |
Usage
[repeat-value]
Values
repeat | Image repeats both horizontally and vertically. |
repeat-x | Image repeats horizontally. |
repeat-y | Image repeats vertically. |
no-repeat | Image does not repeat. |
Availability
W3C CSS2