Re:Solved by Flexbox
by Gorkys on Friday May 22, 2015 @11:42AM
(#9588967)
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?
[ Parent
| on HN ]
Re:Solved by Flexbox
by megaman821 on Friday May 22, 2015 @11:54AM
(#9589040)
It 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.
Re:Solved by Flexbox
by rachelandrew on Friday May 22, 2015 @12:37PM
(#9589395)
I have lots of examples of grid layout over at http://gridbyexample.com (you need Chrome with Experimental Web Platform features flag on to view them)