Background Color, Gradient or Image to cover whole website in large browser window

To get the perfect, full background image to cover your website’s entire browser window, there’s a couple ways to execute. The first step to getting this to work, which is sometimes overlooked, and can cause much frustration to newbies is set html + body css attributes as follows:

Afterwards, you can set your background imagery, background gradients, etc as follows:


Find more ways to set your backgrounds in CSS via here