Css grid
How do I make elements in a display grid not fill up their cells completely? (And use intrinsic sizing instead)
2 Replies
align-items: start
if i'm not mistakenOr center or end depending how you want it to vertically align in their cells. Same with
justify-items
for inline axis. Default style is stretch
so they all stretch to fit their cells.