CSS Full-page image background


/ Published in: CSS
Save to your folder(s)



Copy this code and paste it in your HTML
  1. html {
  2. -webkit-background-size: cover;
  3. -moz-background-size: cover;
  4. -o-background-size: cover;
  5. background-size: cover;
  6. background-attachment: fixed;
  7. background-image: url(141787_5554.jpg);
  8. background-repeat: no-repeat;
  9. background-position: center center;
  10. }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.