You are here : cssCSS 3background-repeat

background-repeat - CSS 3

The background-repeat property sets if/how a background image will be 
repeated.By default, a background-image is repeated both vertically and horizontally.Tip: The background image is placed according to the 
background-position property. If no background-position is specified, the image 
is always placed at the element's top left corner.


Syntax

background-repeat: repeat|repeat-x|repeat-y|no-repeat|initial|inherit;


Example

body
	{
	   
	background-image: url("paper.gif");
	   
	background-repeat: repeat-y;
	}


Output / Return Value


Limitations


Alternatives / See Also


Reference