CSS property: background-image
Description
This property sets the background image(s) of an element.
Images are drawn with the first specified one on top (closest to the user) and each subsequent image behind the previous one.
Syntax
CSS 2
background-image: <image> | none;
CSS 3
background-image: <image> | none [ , <image> | none ]*;
Values
- <image>
- Image URI.
- none (by default)
- No image.
Versions
Examples
p { background-image: url("image.png"); } p { background-image: none; }