The background-repeat property sets if/how a background image will be repeated.
Inherited: No
Example
| body { background-image: url(stars.gif); background-repeat: repeat-x } |
Possible Values
| Value | Description |
|---|---|
| repeat | The background image will be repeated vertically and horizontally |
| repeat-x | The background image will be repeated horizontally |
| repeat-y | The background image will be repeated vertically |
| no-repeat | The background-image will be displayed only once |


Leave a Reply