PROMO: Online casino feature some amazing graphics, learn more about these at yours4money.com

CSS BACKGROUND-COLOR

Filed Under: CSS Playground, with 362 views.

The background-color property sets the background color of an element.

Inherited: No

Example

p {background-color: #00ff00}

Possible Values

Value Description
color The color value can be a color name (red), a rgb value (rgb(255,0,0)), or a hex number (#ff0000)
transparent The background color is transparent

Comments:

Leave a Reply