align-content # 13

align-content

The align-content property modifies the behavior of the flex-wrap property. It is similar to align-items, but instead of aligning flex items, it aligns flex lines.

Note: There must be multiple lines of items for this property to have any effect!

Tip: Use the justify-content property to align the items on the main axis (horizontally).

It works along the cross-axis. 


align-content doesn’t work without flex-wrap.




























Previous Post

Post a Comment

Previous Post Next Post