full size bg image


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

full size bg image with css


Copy this code and paste it in your HTML
  1. img.bg { min-height: 100%; min-width: 1200px; width: 100%; height: auto; position: fixed; top: 0; left: 0; }
  2.  
  3. insert the image into the body and then have it have a class called "bg"

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.