DEV Community

Discussion on: Flexbox vs. CSS grid

Collapse
 
anpos231 profile image
anpos231

With grid you can also reorder stuff.
It was the whole point of grid on the first place.

Collapse
 
nataliedeweerd profile image
𝐍𝐚𝐭𝐚𝐥𝐢𝐞 𝐝𝐞 𝐖𝐞𝐞𝐫𝐝

I wasn't aware of this! I haven't used grid a huge amount. Honestly flexbox does what I need it to, so haven't felt the need to pick up grid yet.

Thread Thread
 
anpos231 profile image
anpos231 • Edited

I often use flexbox myself.
There are certain cases where it's easier to layout things with flex rather than grid.

I often use this tool to generate working grids then I can just copy and paste: grid.layoutit.com/

Thread Thread
 
nataliedeweerd profile image
𝐍𝐚𝐭𝐚𝐥𝐢𝐞 𝐝𝐞 𝐖𝐞𝐞𝐫𝐝

Useful website - thank you for sharing!

Thread Thread
 
kenbellows profile image
Ken Bellows

Grid takes reordering to a whole new level. Skim this article I wrote a while ago about one of my favorite features of Grid:

Thread Thread
 
bertilmuth profile image
Bertil Muth • Edited

Excellent article. Thanks for sharing. The ASCII art specification is a great idea.

Thread Thread
 
kenbellows profile image
Ken Bellows

Oh man, for high-level layouts, like at the whole page level, it's an absolute game changer. I can't wait for Subgrid to complete the Grid picture!