Skip to content

Latest commit

 

History

History
30 lines (25 loc) · 780 Bytes

background.md

File metadata and controls

30 lines (25 loc) · 780 Bytes

background

The background shorthand CSS property sets all background style properties at once, such as color, image, origin and size, or repeat method.

Values

<attachment>
See background-attachment
<box>
See background-clip and background-origin
<background-color>
See background-color
<bg-image>
See background-image
<position>
See background-position
<repeat-style>
See background-repeat
<bg-size>
See background-size.

Examples

background="url("starsolid.gif") #99f repeat-y fixed"
background=#000"
background="url("starsolid.gif") repeat-x cover"