CSS background repeat Property
CSS background-repeat Property
The background-repeat property is used to set how a background image will be repeated. A background-image is repeated both vertically and horizontally by default.
Its default value is repeat.
Its syntax is:- background-repeat: repeat | repeat-x | repeat-y | no-repeat | initial | inherit;
|The background image is repeated both vertically and horizontally.
|The background image is repeated only horizontally
|The background image is repeated only vertically
|The background-image is not repeated.
|The background-image is repeated as much as possible without clipping.
|The background-image is repeated and squished or stretched to fill the space.
|Sets this property to its default value.
|Inherits this property from its parent element.