Name

background-image

Synopsis

Places an image in the background of the element. Depending on the value of background-repeat, the image may tile infinitely, along one axis, or not at all. The initial background image (the origin image) is placed according to the value of background-position.

Values:

<uri> | none | inherit

Initial value:

none

Applies to:

all elements

Inherited:

no

Computed value:

absolute URI

Get Cascading Style Sheets: The Definitive Guide, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.