How to Center and Resize a Background Image With Dreamweaver

I did a previous tutorial on how to center a background image using Dreamweaver, but that tutorial did not show you how to resize the image with the browser.

In this video tutorial, I show you how to center a background image using Dreamweaver and have that video resize with the browser.

This is the code you need to paste in Dreamweaver:

html {
background: url(images/bg_oap.jpg) no-repeat center center fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
}