CSS3 html5 Perfict Fit Background Tutorial background-size Scale Stretch Image
Learn to create CSS web page backgrounds for HTML5 documents that scale and stretch to fit into the user screen regardless of the type of device they are viewing your page with.
Lesson Code
<!DOCTYPE html>
<html>
<head>
<style type="text/css">
body {
background:url(dynamic_width_bg.jpg) #A98436 no-repeat left top;
background-size: 100%;
}
</style>
</head>
<body>
<h1>My page with 100% width background image</h1>
</body>
</html>