The CSS background-image property is used to specify a background image of an element.
Syntax: |
background-image: <value>
|
Possible Values: |
|
Initial Value: |
None
|
Applies to: |
All elements
|
Inherited: |
No
|
Media: |
Visual
|
Example |
background-image:url("/pix/smile.gif")
|
Try it yourself! |
|