摘要: padding和margin 使用百分比的时候是根据父元素计算的。 padding: 50%; 可以生成一个和父盒子一样宽的正方形,且随动。 阅读全文
posted @ 2017-09-07 11:53 潇影D 阅读(195) 评论(0) 推荐(0) 编辑