庞永胜

摘要: 1.相对定位 (1)在父元素中使用text-align:center; (2)使用margin:auto; (3)通过设置left,top偏移量和负边距实现居中 width:[width]; height:[height]; position:absolute; left:50% top:50px; 阅读全文
posted @ 2016-06-14 22:46 庞永胜 阅读(320) 评论(0) 推荐(0) 编辑