News for hackers. Stuff that matters.
Re:CSS: It was twenty years ago today by robin_reala on Friday October 10, 2014 @07:16AM (#8437165)
That might have been true in 2006 but we now have reasonable support cross-browser for Flexbox[1] (especially if you reduce the pain with autoprefixer[2]), and CSS Grid Layout[3] is coming.

[1] http://www.w3.org/TR/css3-flexbox/

[2] https://github.com/postcss/autoprefixer

[3] http://www.w3.org/TR/css3-grid-layout/

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.
Re:CSS: It was twenty years ago today by cookiecaper on Friday October 10, 2014 @08:35AM (#8437364)
While you're right that the current versions of all browsers seem to support it now (though Safari still requires prefixing), it's pretty recent on some of these: http://caniuse.com/#search=flex. Most people still won't feel comfortable using it for probably another year or so, and this is just one element in the Flexbox specification; it doesn't necessarily imply the rest is well-supported or that implementations are reasonably consistent across browsers.
Re:CSS: It was twenty years ago today by acdha on Friday October 10, 2014 @10:20AM (#8437796)
It is recent but I'm seeing >85% of visitors to non-technical sites using a browser which supports flexbox. At that point, using something like a CSS preprocessor to manage the prefixing / older spec support and deploying flexie for older versions of Internet Explorer starts looking like a very reasonable prospect. If your goal is simply to do vertical centering, align elements with consistent sizing, or have the ability to reorder elements in different contexts without having to change the DOM order, flexbox works well in all of the browsers listed at http://caniuse.com/#feat=flexbox.

That said, it is something of a travesty that one of the most popular reasons to dive down that particular rabbit hole in 2014 is to get real vertical centering: https://gist.github.com/acdha/a91a46706de02c37566a is still 11 lines for one of the most basic layout requirements.

Re:CSS: It was twenty years ago today by robin_reala on Friday October 10, 2014 @08:42AM (#8437385)
OK, fair points, but if the OP can look back 8 years and apply that to now then I reserve the right to look forwards 8 years and do the same :)
Re:CSS: It was twenty years ago today by rmc on Friday October 10, 2014 @08:18AM (#8437318)
So it only took 20 years...
Re:CSS: It was twenty years ago today by brandonbloom on Friday October 10, 2014 @03:27PM (#8439575)
...and it's more complicated and less capable.