Background color
noun
say it: “BAK-grownd KUL-er” /ˈbækˌɡraʊnd ˈkʌlər/
The CSS property that fills the area behind an element's content and padding with a color.
What does background-color do?
background-color fills an element's background, behind its content and padding.
.warning { background-color: #fff3cd; }
In a sentence
- “I gave each pet card a pale blue background color so the cards stand out from the white page.”
Level: Novice · More CSS terms at this level
Updated