background-color: ***;
Browser |
|
---|
The background-color property specifies the background color of an element.
Applying this property to the BODY element applies the specified style to background of an entire page.
body {
background-color: gray;
}
Property | Value | Explanation |
---|---|---|
background-color | color code or name | the color of the background |
The default is "transparent".