align-items not working
3 Replies
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.
each item has the same height so the align-item doesn't do anything
it worked with make the height of the box bigger.
yes im new to flexbox but thanks a lot guys