News for hackers. Stuff that matters.
Re:Faster Layouts with CSS Grid and Subgrid by karlshea on Friday October 18, 2019 @03:53PM (#21294568)
This is a very good rule of thumb.

Grid is great for the layout of the whole page (header/content/sidebar/footer) or specific gridded containers.

Flexbox is great for everything else, and specifically what you said about in one dimension, like form label/input or a repeating set of thumbnails, or justified buttons.

There are no comments on this comment yet.