background-image

Sets one or more background images on the element.

Example

Initial value none
Applies to all elements. It also applies to ::first-letter and ::first-line.

Syntax

  
background-image: url('../background.png');
  

Values

No background image.
A url path to the image to be shown as background of the target element.

Browser support

background-image112143.51
element4
gradients1123.610114
image-rect4
image-set2179156
multiple_backgrounds1123.6910.51.3
svg_images812499.55

We use cookies to improve your experience. Learn more in our Privacy policy.

×