Background repeat

noun

say it: “BAK-grownd rih-PEET” /ˈbækˌɡraʊnd rɪˈpit/

The CSS property that decides whether a background picture tiles in rows and columns (the default), shows once, or repeats in a single row or column.

What does background-repeat do?

background-repeat decides whether a background image tiles over and over, and in which direction.

.hero { background-repeat: no-repeat; }

In a sentence

  • “The pepper icon kept tiling across the label until I set its background repeat to no-repeat.”

Level: Apprentice · More CSS terms at this level

Updated