Absolute center an image

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

Bruger til at centrere et billede midt i skærmen og fylder ud

Copy this code and paste it in your HTML
  1. html {
  2. width:100%;
  3. height:100%;
  4. background:url(logo.png) center center no-repeat;
  5. }

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.