Advertisement
Guest User

Untitled

a guest
Feb 5th, 2016
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.61 KB | None | 0 0
  1. align-items and align-content both deal with cross-axis distribution. align-content only does anything when working with multiple lines of flex-items; it will distribute the space between and around each line. When using align-content: stretch, it will stretch the lines to fit the container. align-content seems to kick in when there's 1 line of flex-items; it will stretch these along the cross-axis to fit their container as well.
  2. justify-content deals with the main axis distribution. As far as I know, there is no stretch option here. We use flex-grow and flex-shrink to handle how space is distributed along the main axis.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement