# Background image

*noun*

say it: **“BAK-grownd IM-ij”** **/ˈbækˌɡraʊnd ˈɪmɪdʒ/**

The CSS property that puts a picture, named with url(), behind an element's content, on top of its background color. It is for pictures that decorate; a picture the reader needs belongs in an img element.

## What does `background-image` do?

`background-image` puts an image (or a gradient) behind an element's content.

```css
.hero { background-image: url("images/mountains.jpg"); }
```

## In a sentence

- “I gave the menu page a chalkboard **background image**, so the prices look like they were written in chalk.”

Level: Apprentice · [More CSS terms at this level](https://www.ask-codey.com/glossary?category=css&level=2)

Updated: November 9, 2026

Source: https://www.ask-codey.com/glossary/background-image
