<html>
<style>
body {
background-image: url('img_girl.jpg');
background-repeat: no-repeat;
background-attachment: fixed;
background-size: 100% 100%;
}
</style>
<body>
<h2>Background Stretch</h2>
<p>Set the background-size property to "100% 100%r" and the background image will be stretched to cover the entire element, in this case the BODY element.</p>
</body>
<!-- Mirrored from www.w3schools.com/html/tryit.asp?filename=tryhtml_images_background8 by HTTrack Website Copier/3.x [XR&CO'2014], Mon, 27 Jan 2020 02:33:14 GMT -->
</html>