Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save achudars/5520439 to your computer and use it in GitHub Desktop.
Save achudars/5520439 to your computer and use it in GitHub Desktop.
100% width and height background in CSS
background: url('../image/site/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