浮动,定位,脱标的子元素如何撑开父级元素的高度, 父盒子高度自适应

给父级元素添加overflow:auto;

猜你喜欢

转载自blog.csdn.net/sally18/article/details/84665703
今日推荐