摘要: 一、盒子垂直水平居中 4种方法 1、定位 盒子宽高已知, position: absolute; left: 50%; top: 50%; margin left: 自身一半宽度; margin top: 自身一半高度; 2、table cell布局 父级 display: table cell; 阅读全文
posted @ 2018-02-24 14:17 璐松鼠 阅读(155) 评论(0) 推荐(1) 编辑