An Interest In:
Web News this Week
- March 16, 2024
- March 15, 2024
- March 14, 2024
- March 13, 2024
- March 12, 2024
- March 11, 2024
- March 10, 2024
August 29, 2020 04:26 pm GMT
Original Link: https://dev.to/madza/css-grid-vs-flexbox-which-one-do-you-prefer-2kl4
Flexbox vs CSS Grid: Which one do you prefer?
Flexbox is a one-dimensional layout model, that offers space distribution between items in an interface and powerful alignment capabilities without using float or positioning.
CSS GRID is a more powerful system compared to Flexbox, using a two-dimensional layout system allowing users to layout content in rows and columns.
I tend to use them both - Grid for building mainframe and general layout blocks and Flexbox for everything inside those blocks.
Which use cases do you attribute to both when building layouts, positioning elements, arranging content, etc?
Original Link: https://dev.to/madza/css-grid-vs-flexbox-which-one-do-you-prefer-2kl4
Share this article:
Tweet
View Full Article
Dev To
An online community for sharing and discovering great ideas, having debates, and making friendsMore About this Source Visit Dev To