margin-left:80px
margin-top:80px
/*前两项也可合并为margin:80px 0 0 80px*/
width:80px
height:80px
border:1px solid #f00
}
希望对你有帮助,呵呵
<div class="test"></div>css:
.test{width:80pxheight:60pxbackground:#000}
后面的“background:#000” 是让你直观的看出
margin-left:80px
margin-top:80px
/*前两项也可合并为margin:80px 0 0 80px*/
width:80px
height:80px
border:1px solid #f00
}
希望对你有帮助,呵呵
<div class="test"></div>css:
.test{width:80pxheight:60pxbackground:#000}
后面的“background:#000” 是让你直观的看出