Posted By

robnilas on 01/21/17


Tagged


Versions (?)

Full Page Background Image


 / Published in: CSS
 

  1. html {
  2. background: url(images/bg.jpg) no-repeat center center fixed;
  3. -webkit-background-size: cover;
  4. -moz-background-size: cover;
  5. -o-background-size: cover;
  6. background-size: cover;
  7. filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='.myBackground.jpg', sizingMethod='scale');
  8. -ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='myBackground.jpg', sizingMethod='scale')";
  9. }

Report this snippet  

You need to login to post a comment.