News for hackers. Stuff that matters.
Re:CSS: It was twenty years ago today by Touche on Friday October 10, 2014 @10:08AM (#8437721)
Am I the only one who finds flexbox incredibly complicated? It probably covers every possible scenario but doing some simple thing takes me 15 minutes of trial and error to get right.
Re:CSS: It was twenty years ago today by chc on Friday October 10, 2014 @12:27PM (#8438604)
I would say the opposite: After a small initial hump, flexbox is actually very simple for what it gives you, but it's ultimately fairly limited. It's not up to implementing every kind of grid layout cleanly, and it's not even in the same ballpark as constraint-based layouts.
Re:CSS: It was twenty years ago today by archagon on Friday October 10, 2014 @10:43AM (#8437935)
I'm no CSS expert, but I personally find it incredibly easy and intuitive compared to the usual CSS alignment nonsense. Floats? Table display? Inline block?

Flexbox is the first CSS layout feature that makes me feel like I don't have to harness an army of hacks to get anything done.

Re:CSS: It was twenty years ago today by andrewingram on Friday October 10, 2014 @12:25PM (#8438593)
There are still layouts it can't solve, for which I'm using Javascript to manually calculate the size of elements
Re:CSS: It was twenty years ago today by Bahamut on Friday October 10, 2014 @11:06AM (#8438080)
There's a learning curve, but it isn't as fragile as the set if margin and position hacks that were standard before. Those old hacks are still used for supporting old browsers (IE8 and before), but flexbox simplifies things once you grasp it in applications.
Re:CSS: It was twenty years ago today by biscarch on Friday October 10, 2014 @11:37AM (#8438261)
I find it no more complicated than things such as figuring out things like clearfixes were in the beginning.