DEV Community

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

Collapse
 
giorgosk profile image
Giorgos Kontopoulos 👀

Great article. The grid system can easily do layouts that flexbox struggles. Still in many layouts flexbox is the simplest solution. If grid is needed for me the decision usually comes down to IE11 support. Grid mostly does not work with this old browser so when I have a choice with flexbox I prefer it instead of messing with polyfills and hacks.

For example in the case of non simple area reorderings (point 1. above) I can usually use nested flexboxes to solve it.