You are here : cssCSS 3background-size

background-size - CSS 3

The background-size property specifies the size of the background images.


Syntax

background-size: auto|length|cover|contain|initial|inherit;


Example

div
	{
	   
	background: url(img_flwr.gif);
	   
	background-size: 80px 60px;
	   
	background-repeat: no-repeat;
	}


Output / Return Value


Limitations


Alternatives / See Also


Reference