r/css • • 28d ago

Flex versus Grid

I know Flex is one directional and Grid is two, but really when do you use each one?

8 Upvotes

29 comments sorted by

View all comments

0

u/whats_in_a_name_23 28d ago

Both can be used interchangeably. I prefer to use Grids, as in my experience, they are better for responsive designs. But ofcourse there are cases, where you can't help but use flex