CSS background-repeat

Previous Next

Demo of the different values of the background-repeat property.

Click the property values below to see the result:

background-repeat: repeat;
background-repeat: repeat-x;
background-repeat: repeat-y;
background-repeat: no-repeat;
background-repeat: space;
background-repeat: round;
This demo shows how to specify where the background image should be repeated.
This demo shows how to specify where the background image should be repeated.
This demo shows how to specify where the background image should be repeated.
This demo shows how to specify where the background image should be repeated.
This demo shows how to specify where the background image should be repeated.
This demo shows how to specify where the background image should be repeated.

Play more with the code in our Tryit yourself editor: Try it Yourself ❯