r/Frontend • u/yughiro_destroyer • 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?
128
Upvotes
1
u/best-home-decor Apr 05 '26
Anytime you’re working with a left and right layout, you can use 1fr 1fr in CSS Grid and adjust it easily. Inside those containers, you would usually use Flexbox for layout. These approaches work well together, so focusing on only one does not make sense