body, html {
  height: 100%;
}
.bg {
  /* The image used */
  background-image: url("css/bg.gif");

  /* Full height */
  height: 100%;

  /* Center and scale the image nicely */

  background-repeat: repeat;
  background-size: cover;
}