DEV Community

loading...

Flexbox versus Grid CSS

chaseskibeness profile image Chase Skibeness ・1 min read

Today I'm working on the flexbox and grid sections of the Freecodecamp curriculum.

I've learned a ton about CSS from their curriculum but a lot of it has focused on the how and less on the why. When does one use a Grid versus a Flexbox? Is there a right answer or does it have more to do with the developers comfortability with either style?

Discussion (0)

Forem Open with the Forem app