3 ms·
Flexbox seems to serve most HTML layouts. Are there any that it doesn't work so well for? What about CSS Grid Layout? I've not heard anything about that for a w
by Gorkys 11y ago
Flexbox seems to serve most HTML layouts. Are there any that it doesn't work so well for? What about CSS Grid Layout? I've not heard anything about that for a while. Does that have any advantages over Flexbox?
- megaman821 11y agoIt seems the CSS Grid Layout needs far less divs to accomplish the same layout. With Flexbox you end up creating a lot of parent elements to layout the content elements correctly. With CSS Grid Layout you can express the layout more precisely in the CSS, so there is no need for a lot parent elements.
- rachelandrew 11y agoI have lots of examples of grid layout over at http://gridbyexample.com http://gridbyexample.com (you need Chrome with Experimental Web Platform features flag on to view them)