paint-brush
Flexbox vs CSS Grid is Not A Thingby@maaz-ahmad
298 reads

Flexbox vs CSS Grid is Not A Thing

by Maaz Ahmad Khan1mAugust 26th, 2020
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

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.
featured image - Flexbox vs CSS Grid is Not A Thing
Maaz Ahmad Khan HackerNoon profile picture
Maaz Ahmad Khan

Maaz Ahmad Khan

@maaz-ahmad

Love simplicity, both in my life and in my code

About @maaz-ahmad
LEARN MORE ABOUT @MAAZ-AHMAD'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

Maaz Ahmad Khan HackerNoon profile picture
Maaz Ahmad Khan@maaz-ahmad
Love simplicity, both in my life and in my code

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite
Also published here
Learnrepo