top | item 38389655

(no title)

sickcodebruh | 2 years 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_la...

discuss

order

Brajeshwar|2 years ago

Here 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|2 years ago

There 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