I have an image called myImage.jpg. This is my CSS:
body { background-image:url(\"../images/myImage.jpg\"); background-repeat: no-repeat; backgro
The VH unit can be used to fill the background of the viewport, aka the browser window.
VH
(height:100vh;)
html{ height:100%; } .body { background: url(image.jpg) no-repeat center top; background-size: cover; height:100vh; }