background-repeat

Back to the index.

This page tests background-repeat. How does the background repeat? Horizontally, vertically, not at all, or does it try to cover the box with a whole number of iterations?

repeat (default)

The image repeats unchecked.

repeat-x

The image repeats only horizontally.

repeat-y

The image repeats only vertically.

no-repeat

The image does not repeat.

space

The image repeats, but only as many times as it fits the box completely After that, the repeats are spaced evenly across the box.

space

round

The image repeats, but if it does not fit the box a whole number of times, it is reduced in size until it does.

round