Main Axis——主轴

当flex-direction设置为row或row-reverse时,主轴的方向为水平方向。此时flex item为行内级元素。

当flex-direction设置为column或column-reverse时,主轴的方向为垂直方向。此时flex item为块级元素。

相关文章:

  • 2021-08-01
  • 2021-10-16
  • 2021-11-21
  • 2021-11-16
  • 2021-11-29
  • 2021-07-13
  • 2021-12-24
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-11-21
  • 2021-11-21
  • 2021-11-21
  • 2021-12-07
  • 2021-09-21
相关资源
相似解决方案