//父级div(会显示横向滚动条)
.parentDiv{
display: flex
}
//子级div
.childDiv{
flex-shrink: 0;
}
flex布局实现不换行且不挤在一起效果
最新推荐文章于 2024-07-02 11:33:04 发布
//父级div(会显示横向滚动条)
.parentDiv{
display: flex
}
//子级div
.childDiv{
flex-shrink: 0;
}