0
点赞
收藏
分享

微信扫一扫

DIV 子DIV为浮动时如何自适用高度

mafa1993 2022-01-09 阅读 46

在父DIV中后面增加一个DIV

<div class="bbc"></div>
        </div>
.bbc{
  clear:both;
  height:0;
  font-size: 1px;
  line-height: 0px;
} 
举报

相关推荐

Div高度控制问题

0 条评论