space-around对齐时, 三个div之间的距离是与父边框之间距离的【两倍】

flex 布局  justify-content 对齐的图解

 

space-evenly对齐时,三个div之间的距离是与父边框之间的距离 【相等】

flex 布局  justify-content 对齐的图解

 

 space-between对齐

flex 布局  justify-content 对齐的图解

 

center对齐时,是三个div挨在一起(当做一个元素)居中。

flex 布局  justify-content 对齐的图解

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-19
  • 2022-12-23
  • 2021-07-18
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-12-12
  • 2021-05-22
  • 2021-05-13
  • 2022-03-05
  • 2021-07-02
  • 2021-10-08
相关资源
相似解决方案