Skip to content

Instantly share code, notes, and snippets.

@owlsky
Last active December 23, 2015 16:59
Show Gist options
  • Save owlsky/6665482 to your computer and use it in GitHub Desktop.
Save owlsky/6665482 to your computer and use it in GitHub Desktop.
Full Page Background
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;
filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/bg.jpg', sizingMethod='scale');
-ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/bg.jpg', sizingMethod='scale')";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment