Reference: Background Properties
Reference: Background Properties
The "CSS" column indicates in which CSS version the property is defined (CSS1 or CSS2).
Background Properties
Property background background-attachment background-color background-image background-position background-repeat Description Sets all the background properties in one declaration Sets whether a background image is fixed or scrolls with the rest of the page Sets the background color of an element Sets the background image for an element Sets the starting position of a background image Sets how a background image will be repeated CSS 1 1 1 1 1 1
Sets the style of the top border Sets the width of the top border Sets the width of the four borders Sets all the outline properties in one declaration Sets the color of an outline Sets the style of an outline Sets the width of an outline
2 1 1 2 2 2 2