Billy Jealousy

<!DOCTYPE html>
<meta name="viewport" content="width=device-width, initial-scale=1">
body, html {
height: 100%;
margin: 0;

.bg {
/* The image used */
background-image: url("img_girl.jpg"); 

/* Full height */
height: 100%;

/* Center and scale the image nicely */
background-position: center;
background-repeat: no-repeat;
background-size: cover;

<div class="bg"></div>

<p>This example creates a full page background image. Try to resize the browser window to see how it always will cover the full screen (when scrolled to top), and that it scales nicely on all screen sizes.</p>