Absolute Center (Vertical


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



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. }

URL: http://css-tricks.com/snippets/css/absolute-center-vertical-horizontal-an-image/

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.