flex布局使用justify-content: space-between 当为两个内容时中间被空出的解决方案

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

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

  

posted @ 2020-09-10 17:51  kiku的小迷弟  阅读(2272)  评论(0编辑  收藏  举报