This property sets sets the background image(s) of an element.
Values for "background-image"
CSS Level | Value |
CSS Backgrounds and Borders Level 3 | "<bg-image>#" where <bg-image> = "none | <image>" |
Notes
- Images are drawn with the first specified one on top (closest to the user) and each subsequent image behind the previous one.
Recommended Links
Accessibility Information & Tips
- Use CSS to include decorative images wherever possible. The CSS "background", "background-image", "content", and "list-style-image" properties can be used. This avoids additional markup in the content. Visit https://www.w3.org/TR/WCAG20-TECHS/C9 for more information.
Search Engine Links (for more information)