flex 子元素占满剩余高度, 父元素overflow:hidden 失效 当 flex父元素高度不足时,会被子元素撑开高度,解决方法父元素設置css:min-height: 0// orheight: 0 html/CSS 2024-07-03 31 点赞 0 评论 46 浏览