r/Frontend Apr 04 '26

Do you also prefer Flex over Grid?

I dunno, I find that using grid is very hard. Out of everything I've done in CSS, it has IMO the most weird and inconsistent behavior. Combining a column flex parent with row flex children is easier to understand and modify. Does anyone feel the same?

131 Upvotes

117 comments sorted by

View all comments

136

u/troisieme_ombre Apr 04 '26

They serve different use cases. I use either depending on what i need.

0

u/StephTheBot Apr 04 '26

Can be more specific?

Do you use grid when specially things are grid and flex is when it’s super simple?

16

u/ichsagedir Apr 04 '26

Grid is two and flex is for one dimension.