background web page image fit code example
Example: how to fit background image in a webpage
html {
background: url('img.jpg') no-repeat center center fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
}