background-image

The background-image 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.

Values

background-image: value
Value Initial Description
image image layer
none none image layer but draws nothing

DOM

object.style.backgroundImage = "value";

Example | image

Example | none

Example | DOM

External

W3C Cascading Style Sheets, level 1

W3C Cascading Style Sheets Level 2 Revision 1 (CSS 2.1) Specification

W3C CSS Backgrounds and Borders Module Level 3