Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
June 26, 2020 02:24 am GMT

Grid for layout, flexbox for components

When should we reach for CSS grid and when should we use flexbox? Rachel Andrew wrote about this very conundrum way back in 2016:

Flexbox is essentially for laying out items in a single dimension in a row OR a column. Grid is for layout of items in two dimensions rows AND columns.

Ahmad Shadeed wrote a post where he gives the same advice, but from a different angle. He argues we should use grid for layout and Read article “Grid for layout, flexbox for components”

The post Grid for layout, flexbox for components appeared first on CSS-Tricks.


Original Link: https://ishadeed.com/article/grid-layout-flexbox-components/

Share this article:    Share on Facebook
View Full Article

CSS Tricks

A Web Design Community curated by Chris Coyier

More About this Source Visit CSS Tricks