align-content & align-items


Posted by Rich on 2021-05-17

Align-content determines the spacing between lines, while align-items determines how the items as a whole are aligned within the container.
When there is only one line, align-content has no effect.










Related Posts

Express

Express

使用M1 Mac Mini開發一週心得

使用M1 Mac Mini開發一週心得

[day 04] Class & constructor: 吃語法糖別噎到

[day 04] Class & constructor: 吃語法糖別噎到


Comments