Thursday, May 08, 2014

Kode Css untuk background full satu halaman website


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

Keterangan : 
images/bg.jpg : letak file gambar

[css-tricks]