background-repeat-x

Experimental

A non-standard (but widely supported) property that specifically controls whether a background image repeats horizontally. It is usually easier to use the standard 'background-repeat' property instead.

Quick example

body {
  background-repeat-x: repeat;
  /* explicitly forces horizontal repeat only (mostly for legacy compatibility) */
}

background-repeat-x Browser Support

Widely available Since 2015 94% global usage

This feature is well established and works across many devices and browser versions. It has been available across browsers since 2015.

Safe to use without fallbacks.

5+
5+
79+
ESC