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

2356. Number of Unique Subjects Taught by Each Teacher

2356. Number of Unique Subjects Taught by Each Teacher

Golang中的字元

Golang中的字元

搶救茶壺大作戰:418 I am a teapot

搶救茶壺大作戰:418 I am a teapot


Comments