Background-color
Default Value: transparent
Inherited? No
CSS Version: 1
| Webkit | Gecko | Trident | Presto |
| 85 | 1.0 | 4.0 | 1.0 |
background-color: <color>;
This is the color you wish the background to be. It can be defined in any way you wish!
background-color: red; background-color: rgb(255,23,45); background-color: #434343;
Background Properties
| Property | Description |
| background-clip | The area you want the background to appear in |
| background-color | The color you wish the background to be. |
| background-image | An image which you want to use as the background. |
| background-repeat | What direction you want the background to repeat in. This can be repeat-x, repeat-y or no-repeat |
| background-origin | The starting point for the background |
| background-size | The size the background should cover |
| background-attachment | If you wish the background to be fixed (i.e. it doesn’t move if the user scrolls) or if you want it to scroll as the user scrolls. |
| background-position | A keyword or number with unit defining the position where the background should start |