The background-size property determines how a background image fills an area. The size and method used to fill the space has several options. Here’s an example that fills the background with an image, resizing the image to fill the space.
It may take a moment to load the background image. After the background loads resize the browser window. Notice the image always fills the space.