Flexbox vs CSS Grid is Not A Thing

Written by maaz-ahmad | Published 2020/08/26
Tech Story Tags: css | css3 | css-grids | flexbox | coding | problem-solving | software-development | grid-layout

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
Published by HackerNoon on 2020/08/26