background-repeat

Previous- background-image  |  Next-background-attachment

Description

If a background image is specified, this property specifies whether the image is repeated (tiled), and how. All tiling covers the content and padding areas of a box.

'repeat' - The image is repeated both horizontally and vertically. 'repeat-x' - The image is repeated horizontally only. 'repeat-y' - The image is repeated vertically only. 'no-repeat' - The image is not repeated: only one copy of the image is drawn.


Initial Value : repeat

Applies to : all elements

Inherited : no

Possible Values
repeat | repeat-x | repeat-y | no-repeat | inherit

Example(s)
body {   background: white url("pendant.gif");  background-repeat: repeat-y;  background-position: center;}

Previous- background-image  |  Next-background-attachment