0
点赞
收藏
分享

微信扫一扫

子元素超出父元素宽度

梦想家们 2021-09-24 阅读 136

子元素超出父元素宽度

<div  class="father">
    <div class="child"></div>
</div>
.father{
   white-space: nowrap;
}
.child{
 display: inline-flex;
}
举报

相关推荐

0 条评论