CSS Background
CSS Background
body {
background-color: #ffffff;
background-image: url("img_tree.png");
background-repeat: no-repeat;
background-position: right top;
}
Use the shorthand property to set the background
properties in one declaration:
body {
background: #ffffff url("") no-repeat right top;
}
When using the shorthand property the order of
the property values is:
◦ background-color
◦ background-image
◦ background-repeat
◦ background-attachment
◦ background-position
CSS background-clip Property