3 ms·
This is a great walkthrough! I love CSS Grid. When you’ve got a design that really needs it, it feels like magic. But truthfully, I so often try to use it but
by sickcodebruh 3y ago
This is a great walkthrough!
I love CSS Grid. When you’ve got a design that really needs it, it feels like magic. But truthfully, I so often try to use it but wind up back with flexbox. Or there’s some quirk to a design that just doesn’t work out. Subgrid will make it much more usable (at least as I understand it) and I’m very excited for it to have wider support.
https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_grid_layout/Subgrid https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_grid_la...
- Brajeshwar 3y agoHere is my thumb-rule and I hope things haven't changed in the last few years -- Structural Layout in CSS Grid; Content Alignment in Flexbox.
- ThatMedicIsASpy 3y agoThere is something flexbox cant. Center the content columns but align rows with uneven numbers at the start. Unless I'm missing something. I don't want to nest more stuff 1 2 3 4 5 6 7 8 9 10