3 Replies
Jochem
Jochem2y ago
what do you expect it to do? it's not going to go in the padding if that's what you're expecting if you want them at the top of the yellow box, you'll need to make sure the box has excess height, you'll probably want to set a min-height, and remove at least the top padding what's happening now is that the div is the exact height of the content, which means align-items doesn't have any room to move the items.
Mannix
Mannix2y ago
each item has the same height so the align-item doesn't do anything
Aman
Aman2y ago
it worked with make the height of the box bigger. yes im new to flexbox but thanks a lot guys
Want results from more Discord servers?
Add your server