.box{
//改变轴的方向
flex-direction:column;

//两端对齐
justify-content:space-between;

//换行
flex-wrap: wrap;

//在轴上如何对齐
//center:居中,
//flex-start:在主轴上由左或者上开始排列
//flex-end:在主轴上由右或者下开始排列
//space-around:每个项目两侧的间隔相等

align-items: center;


}

 

相关文章:

  • 2022-02-04
  • 2022-01-16
  • 2022-12-23
  • 2022-12-23
  • 2021-12-04
  • 2021-09-28
  • 2021-08-03
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-04
  • 2022-12-23
相关资源
相似解决方案