Here is how you set a background image to cover the entire screen using HTML and CSS. The image will adjust based on the size of your browser window. It’s very useful and I figured I should make note of it here.
The background-size trait is uniqe in that the values I used were either contain or cover. Cover will fill the entire div and will scale/zoom in order to accomplish that. Contain will fit the image to either the width or height, whichever is the limiting agent. The extra space will be filled with the background color.