Name

background-repeat

Values:

repeat|repeat-x|repeat-y|no-repeat

Example:

BODY { no-repeat }

Applies to:

All elements

Inherited:

No

When a background image is specified, this property specifies whether and how the image is repeated.

repeat

Allows the image to repeat both horizontally and vertically

repeat-x

Allows the image to repeat only horizontally

repeat-y

Allows the image to repeat only vertically

no-repeat

Displays the image only once (does not repeat)

Get Web Design in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.