DEV Community

Discussion on: Flexbox diehards: Here's some concrete examples of when CSS grid is just better

Collapse
 
ronakjethwa profile image
Ronak Jethwa • Edited

What I check before applying Grid vs Flex is if my layout is unidirectional or bi-directional. If bi-directional, always prefer Grid. Otherwise Flex would work just fine!

This one is a great post on Grid vs Flex.
css-irl.info/to-grid-or-to-flex/

Collapse
 
bholmesdev profile image
Ben Holmes

Wow, that post is an awesome find! Really summarizes some expert viewpoints on how to think about Grid over flexbox. I'll be sure to use that terminology in the future 😁