News for hackers. Stuff that matters.
Re:CSS Grid Areas by arcanemachiner on Friday August 16, 2024 @03:06AM (#41263873)
Flexbox -> 1-dimensional layouts

Grid -> 2-dimensional layouts

That being said, I use Flexbox for pretty much everything.

Re:CSS Grid Areas by rasso on Friday August 16, 2024 @03:09AM (#41263896)
That‘s a very popular over-simplification. A better one would be:

Flexbox -> the children define the size Grid -> the parent is in control

Re:CSS Grid Areas by reactor on Friday August 16, 2024 @07:30AM (#41265348)
For me its:

Flexbox -> Content first, Layout second.

Grid -> Layout first, Content second.