CSS Background-Image Property
CSS 1 |
CSS 2 |
CSS 3 |
|
|
|
|
Description
Used to display an image in the background of the element.
Syntax
background-image: [value] ;
Possible values
- [uri]
- none
- inherit
Initial Value
None
Applies To
All elements
Inherited
No
Media
Visual
Example
body {background-image:
url(img/myimage.jpg);}