1html {
2 background: url(images/bg.jpg) no-repeat
3 center center fixed;
4 -webkit-background-size: cover;
5 -moz-background-size: cover;
6 -o-background-size: cover;
7 background-size: cover;
8}
1div {
2 background-image: url("example.com/image.png");
3 background-size: 100% 100%;
4}