background-image

The background-image property sets the background image of an element.

background-image: <uri> | none | inherit
Initial: none
Applies To: all elements
Inherited: no
Percentages: NA
Media: visual

DOM

Δ

[window.]document.getElementById("element-id").style.backgroundImage = "background-image";

Example | none

Δ

Example | uri

Δ

Example | DOM

Δ

References

Δ