description & Usage
Background-color property is used to determine the background color.
Informations
| # | Description |
|---|---|
| Default Value | transparent |
| Inherited | no |
| Animatable | yes |
| Version | CSS1 |
| JavaScript syntax | object.style.backgroundColor="#00FF00" |
Syntax
Values
| Values | Description |
|---|---|
| color | Specifies the color border. |
| transparent | Makes the border color transparent. |
| initial | Adds this value to its default property. |
| inherit | It inherits this value from its parent tag. |