Flex核心屬性整理

main axis和cross axis的位置不一定是水平和垂直的,以flex-direction的值即爲主軸方向 justify-content:主軸對齊方式 space-between:將多餘空間放在中間 space-around:將多餘空間放在兩邊,和space-between的區別就是最兩邊會有空間 flex-start:都靠齊主軸的首部(main start) flex-end:都靠齊主
相關文章
相關標籤/搜索