CSS3

position: relative, alsolute

hookbox 2014. 9. 13. 00:24

position: absolute;

left: 50px;

margin-left: -50px; // width 의 절반

width:100px

height:100px;

text-align:center;

line-height:100px;

border:1px solid #eee;
background: #ff0404;