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

JS30 Day 22 筆記

JS30 Day 22 筆記

[day-8] function函式

[day-8] function函式

JavaScript 程式執行原理:JS中的物件導向

JavaScript 程式執行原理:JS中的物件導向


Comments