News for hackers. Stuff that matters.
Re:Firefox 52 released by jwarren on Tuesday March 07, 2017 @10:54AM (#13811313)
Firefox is the first major browser to support CSS Grids out of the box.

https://developers.google.com/web/updates/2017/01/css-grid is a simple introduction to it.

http://gridbyexample.com/ is probably the best reference site.

https://tympanus.net/codrops/css_reference/grid/ is another very nice single-page reference.

Some technical examples from Igalia, who have been implementing Grid in Blink and Webkit: http://igalia.github.io/css-grid-layout/

Some lovely creative examples from Mozilla's Jen Simmons:

http://labs.jensimmons.com/

http://labs.jensimmons.com/2016/

Re:Firefox 52 released by nachtigall on Tuesday March 07, 2017 @11:05AM (#13811440)
And the Firefox Devtools now also have an excellent tools for learning, visualizing and debugging CSS Grids: https://hacks.mozilla.org/2016/12/css-grid-and-grid-highligh...

Well done, new feature coming along with Devtools for it.

Re:Firefox 52 released by gsnedders on Tuesday March 07, 2017 @12:10PM (#13812210)
And we expect Chrome 57 to ship Grid (which should ship around March 14th), Safari 10.1 (part of macOS 10.12.4 and iOS 10.3, expected March/April), and Edge to probably ship it later this year.
Re:Firefox 52 released by marc_omorain on Tuesday March 07, 2017 @01:34PM (#13813197)
What's the difference between grids and flexbox? To the untrained eye, they look like two alternate layout systems where one should suffice.
Re:Firefox 52 released by rachelandrew on Tuesday March 07, 2017 @04:09PM (#13814911)
Re:Firefox 52 released by Esau on Tuesday March 07, 2017 @08:03PM (#13816885)
Very nice. Thanks.
Re:Firefox 52 released by lloeki on Tuesday March 07, 2017 @01:46PM (#13813315)
Basically grids is a 2D layout system, while flexbox is a 1D constraint system that results in stuff happening on the second dimension. They're complementary and it would be foolish to use one when the other is needed.
Re:Firefox 52 released by Nition on Tuesday March 07, 2017 @05:02PM (#13815457)
Does this mean we're finally coming full circle after all these years back to Tables for layout?
Re:Firefox 52 released by saidajigumi on Tuesday March 07, 2017 @05:32PM (#13815738)
No CSS Grid Layout is far, far more powerful and versatile than tables ever were. Certain significant classes of layout problems that were either a major pain or even outright impossible with current CSS tools are about to become fairly straightforward.
Re:Firefox 52 released by nimchimpsky on Wednesday March 08, 2017 @12:32AM (#13818149)
some of us never left
Re:Firefox 52 released by Sammi on Tuesday March 07, 2017 @01:46PM (#13813310)
Flex is only built and meant for handling linier layout, either up and down or left right, and ot does so well with good flexibility and options and developer experience. Or at least compared to the other possible options. It was never intended for making grid layouts, which people are often trying to make it do, because all the other options are so lacking.
Re:Firefox 52 released by hubert123 on Tuesday March 07, 2017 @12:18PM (#13812303)
Sorry to be so blunt but I dont care about another flexbox that much. What they should have done is to implement the shadowdom. Instead we have to wait another half year for them to get to parity with Chrome.