The CSS background-color property is for setting the background color of an element.
Syntax: |
background-color: <value>
|
Possible Values: |
- <color>
- transparent
- inherit
|
Initial Value: |
Transparent
|
Applies to: |
All elements
|
Inherited: |
No
|
Media: |
Visual
|
Example |
background-color:#ff9900
|
Try it yourself! |
|