Skip to content

Latest commit

 

History

History
20 lines (15 loc) · 594 Bytes

background-image.md

File metadata and controls

20 lines (15 loc) · 594 Bytes

background-image

The background-image CSS property sets one or more background images on an element.

Values

none
Is a keyword denoting the absence of images.
<image>
Is an <image> denoting the image to display. There can be several of them, separated by commas, as multiple backgrounds are supported.

Examples

background-image="linear-gradient(to bottom, rgba(255,255,0,0.5), rgba(0,0,255,0.5)), url('catfront.png')"
background-image="inherit"
background-image="url("mdn_logo_only_color.png")"