2 ms·
> So, based on a little experimentation, it seems like "align-items" and "align-content" behave identically, except that "align-items" is only used when there i
by masklinn 12y ago
> So, based on a little experimentation, it seems like "align-items" and "align-content" behave identically, except that "align-items" is only used when there is one row of boxes and "align-content" is only used when there are multiple rows.
> why do these two separate properties exist?
Because they don't behave identically: https://css-tricks.com/snippets/css/a-guide-to-flexbox/ https://css-tricks.com/snippets/css/a-guide-to-flexbox/
- gknoy 12y agoThank you for the explanation. The guide just said "Play with them ...", so it was not obvious (at least to me teraflop) what was different about them.