CSS Property:
background-size:

Result:
CSS Code:
div {
    background-image:url('smiley.gif');
background-repeat:no-repeat;
background-size:auto;
}
Click the property values above to see the result
W3Schools.com - Play it