The purposes of flexbox
and Grid-layout
are different.
Flexbox:
The focus is to organize the items in rows or columns, but following the system of "blocks", ie the content will be several rectangles, side by side, or the other.
Grid-layout:
As the name says, it makes a grid, and serves to organize your items more sophisticated, where each one behaves independently, occupy a number of rows and columns that you stipulate.
Example layout I needed to do:
Themobileversionwastotallydifferentfromthis,butitwasveryeasytoconvert,because,asIsaid,eachitembehavesindependently,soIjustchangedthepositionofeachoneofthemanditwaseasierthanusingany"gambiarra".
Grid-layout problem is IE compatibility, works only in version 11 and not very well, so I use a SASS mixin library that generates for me.
grid-layout-IE11