align-content: stretch;

Why align-content: stretch; doesn't work when align-items is set to any other value other than stretch?
5 Replies
Kevin Powell
Kevin Powell•4mo ago
It still works. align-items is about how the individual items align within theirs rows, align-content is how the entire group of rows align within the parent.
Kevin Powell
Kevin Powell•4mo ago
Easier to explain with an example 😄
Mustafa_Elghisha
Mustafa_ElghishaOP•4mo ago
Got it!
StefanH
StefanH•4mo ago
a personal kevin video!
Mustafa_Elghisha
Mustafa_ElghishaOP•4mo ago
I know, this man is just wonderful

Did you find this page helpful?