Skip to content

Instantly share code, notes, and snippets.

@girasquid
Created August 1, 2012 21:38
Show Gist options
  • Save girasquid/3230988 to your computer and use it in GitHub Desktop.
Save girasquid/3230988 to your computer and use it in GitHub Desktop.
#bg {
position: fixed;
height: 100%;
width: 100%;
z-index: 0;
}
#bg-overlay {
background: transparent url(images/overlay.png) 0 0 repeat;
position: relative;
z-index: 1;
}
#bg {
background-image: url(http://demo.themezilla.com/volumes/files/2012/04/bg-brown.jpg);
background-position: center center;
background-attachment: fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='.http://demo.themezilla.com/volumes/files/2012/04/bg-brown.jpg', sizingMethod='scale');
-ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='http://turbo.themezilla.com/volumes/files/2012/04/bg-brown.jpg', sizingMethod='scale')";
background-color: #;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment