The "background-image" CSS Property

Values for "background-image"
CSS LevelValue
CSS 2.1an image URL or "none"
CSS3<bg-image>#, where <bg-image> is <image> or "none"

Notes

  • Images are drawn with the first specified one on top (closest to the user) and each subsequent image behind the previous one. NOTE: URLs must be in the form url("<url>") (uses double quotes), url('<url>') (uses single quotes), or url(<url>) (uses no quotes), where <url> is the URL itself.

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 http://www.w3.org/TR/WCAG20-TECHS/C9 for more information.

Search Engine Links (for more information)

Help us improve this page: Suggest a link or noteReport a problem