响应式网页高度自适应原理

将高度设为0

用padding-bottom:属性

width:30%

height:0

padding-bottom:30%

posted @ 2016-04-17 20:35  -小白白白  阅读(767)  评论(0编辑  收藏  举报