摘要: <style type="text/css">【1、实现块级元素在块级元素中水平垂直居中】 * ① 设置子容器为定位元素; * ② left:50%; margin-left:-width/2; * top:50%; margin-top:-height/2; */ .div1{ width: 10 阅读全文
posted @ 2017-03-26 21:33 独孤十九剑 阅读(265) 评论(0) 推荐(0) 编辑