Skip to content

Instantly share code, notes, and snippets.

@jasonsee
Created May 8, 2013 14:42
Show Gist options
  • Save jasonsee/5540914 to your computer and use it in GitHub Desktop.
Save jasonsee/5540914 to your computer and use it in GitHub Desktop.
img.bg {
/* Set rules to fill background */
min-height: 100%;
min-width: 1024px;
/* Set up proportionate scaling */
width: 100%;
height: auto;
/* Set up positioning */
position: fixed;
top: 0;
left: 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment