coderef

background-repeatBaseline · Widely available

The background-repeat CSS property sets how a background image is tiled.

Supported in all major browsers for at least 30 months — safe to use without fallbacks. Baseline since Sep 20, 2016. Widely available since Mar 20, 2019.

Browser support

DesktopChrome
1–29Not supported
30+Supportedsince Oct 1, 2013
Current: 155
Edge
12+Supportedsince Jul 29, 2015
Current: 154
Firefox
1–48Not supported
49+Supportedsince Sep 20, 2016
Current: 157
Safari
1–7Not supported
8+Supportedsince Oct 16, 2014
Current: 27
MobileChrome Android
18–29Not supported
30+Supportedsince Oct 2, 2013
Current: 155
Firefox Android
4–48Not supported
49+Supportedsince Sep 20, 2016
Current: 157
Safari iOS
1–7Not supported
8+Supportedsince Sep 17, 2014
Current: 27

How to use

This feature is Baseline widely available — use it freely, no fallback needed.

Example

Full syntax and examples are on MDN: background-repeat.

Feature detection

CSS · check before using
@supports (background-repeat: initial) {
  /* styles that rely on background-repeat */
}

/* or in JavaScript */
if (CSS.supports("background-repeat", "initial")) {
  // use it
}

Sub-features

Support for each part of the feature (9). The overall table above shows when the whole feature works.

Sub-featureChromeEdgeFirefoxSafariChrome AndroidFirefox AndroidSafari iOS
background-repeat112111841
background-repeat.2-value31213518144
background-repeat.multiple_backgrounds1123.61.31841
background-repeat.no-repeat112111841
background-repeat.repeat112111841
background-repeat.repeat-x112111841
background-repeat.repeat-y112111841
background-repeat.round301249830498
background-repeat.space301249830498