摘要: 方法一:未知宽高的块元素水平垂直居中?(仅限webkit内核,请看以下代码)css:*{ padding: 0; margin: 0; }html, body{ height: 100%; }.box{ height: 100%; font-size: 20px; color: #fff; disp... 阅读全文
posted @ 2015-11-25 12:51 Sampson1207 阅读(158) 评论(0) 推荐(0) 编辑