Definition
The background-image property sets an image as the background.
Tip: Always set a background-color to be used if the image is unavailable.
Inherited: No
Example
|
body { background-image: url(stars.gif); background-color: #000000 } |
Possible Values
| Value | Description |
|---|---|
|
url( URL ) |
The path to an image |
| none | Default. No background image |