Skip to content

Instantly share code, notes, and snippets.

@iamnbutler
Created November 10, 2013 05:41
Show Gist options
  • Save iamnbutler/7394269 to your computer and use it in GitHub Desktop.
Save iamnbutler/7394269 to your computer and use it in GitHub Desktop.
Perfect Full Page Background Image - http://css-tricks.com/perfect-full-page-background-image/
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;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment