News for hackers. Stuff that matters.
Re:CSS Layout – Grid vs. Flexbox by bradstewart on Thursday October 15, 2020 @03:58PM (#24793085)
You don't _need_ grid, but it does make it simpler. You technically don't need flexbox either.

In grid you can define this layout in a single construct. Whereas with flexbox, you're defining several nested flex elements to get there.

You can think about the entire layout as a unit, rather than the horizontal parts first (sidebar/main content) then the vertical (header/footer) or vise versa.

There are no comments on this comment yet.