TLDR
There is NO flexbox vs. CSS Grid: It’s just flexbox and CSS grid. Both should be used in conjunction. Flexbox works in a single axis and has a cross-axis that makes it workable in 2-dimensional structure. CSS grid provides a grid layout. So it seems natural to use it where you have multiple images, or card-like components stacked in a grid-like structure. By choosing either of them for all purposes, you force yourself to think of a row as a grid or a grid as two separate dimensions.via the TL;DR App
no story
Written by maaz-ahmad | Love simplicity, both in my life and in my code