Opens in a new tab
A picture of Jeff Brigman
I CODE TODAY FOR
A BETTER TOMORROW

Glossary Term

background-color

3 tags 1 category

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

The background-color property sets the background color of an element box. The color is drawn behind any background images. By default, the background color is painted within the border-box, meaning it’s painted behind the border, ending at the outer edge of the border-box.

Clipping of the background-color paint area is controlled via the background-clip property. If multiple background images are set, the background color’s clipping is determined by the value of the background-clip associated with the bottom-most background image.

Values: <color> The uniform color of the background. It is rendered behind any background-image that is specified, although the color will still be visible through any transparency in the image.

Syntax example: background-color: red;

Term Connections

Explore related terms connected by shared tags, shared categories, and relationship phrases. This map loads only when it comes into view.

Loading term connections…