Compressed Dead Centre


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



Copy this code and paste it in your HTML
  1. #box {
  2. position:absolute;
  3. height:100px;
  4. width:100px;
  5. margin:-50px 0 0 -50px;
  6. left:50%;
  7. top:50%;
  8. }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.