flex布局使用 justify-content: space-between 最后一行中间被空出的解决方案

当前文章收录状态:
未收录

给外层容器添加一个伪类::after

.类名::after{
content: '';
width: 元素的占位宽度;
}
.类名::after{
  content: '';
  width: 元素的占位宽度;
}
.类名::after{ content: ''; width: 元素的占位宽度; }

© 版权声明
THE END
我的博客即将同步至腾讯云+社区,邀请大家一同入驻:https://cloud.tencent.com/developer/support-plan?invite_code=270198dipw4ko
点赞11赞赏 分享
I'm not lazy, I'm on energy saving mode.
我不懒,我只是开启了节能模式
评论 抢沙发

请登录后发表评论

    暂无评论内容