Css grid

How do I make elements in a display grid not fill up their cells completely? (And use intrinsic sizing instead)
2 Replies
Mannix
Mannix3mo ago
align-items: start if i'm not mistaken
clevermissfox
clevermissfox3mo ago
Or 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.
Want results from more Discord servers?
Add your server