Live data from Hacker News

Solved by Flexbox

philipwalton.github.io

1–10 of 127 posts

Re: Solved by Flexbox

#3
post #2

What layouts does Flexbox solve that Cassowary[0] or GSS[1] layout doesn't? [0] http://en.wikipedia.org/wiki/Cassowary_(software) [1] http://gridstylesheets.org/

For a start, flexbox doesn't require JS.

Re: Solved by Flexbox

#4
post #2

What layouts does Flexbox solve that Cassowary[0] or GSS[1] layout doesn't? [0] http://en.wikipedia.org/wiki/Cassowary_(software) [1] http://gridstylesheets.org/

Built-in browser support

Re: Solved by Flexbox

#5
post #4
post #2

What layouts does Flexbox solve that Cassowary[0] or GSS[1] layout doesn't? [0] http://en.wikipedia.org/wiki/Cassowary_(software) [1] http://gridstylesheets.org/

Built-in browser support

That's kinda only true at the moment.

With https://wiki.css-houdini.org/ there is a chance you could implement custom layout in CSS.

Re: Solved by Flexbox

#6
post #3
post #2

What layouts does Flexbox solve that Cassowary[0] or GSS[1] layout doesn't? [0] http://en.wikipedia.org/wiki/Cassowary_(software) [1] http://gridstylesheets.org/

For a start, flexbox doesn't require JS.

I meant more as in Layouts. Anyway, cleared that miscommunication.

Re: Solved by Flexbox

#7
post #2

What layouts does Flexbox solve that Cassowary[0] or GSS[1] layout doesn't? [0] http://en.wikipedia.org/wiki/Cassowary_(software) [1] http://gridstylesheets.org/

As another user says, no js.

Pure CSS runs in the browser without a get request (other than the CSS file you are already using, obv.) so it eliminates the need for a grid system like Bootstrap, 960gs etc. The 'grid' is there in the CSS and html where it is meant to be, without the need for @media queries with 10 decimal points and 15 font sizes. It also provides more layout options than currently exist without the need for hacky solutions.

How useful the linked site is right now is questionable though. If you want a IE8+ cross browser & mobile site to rely on flex-box ... it can be done and quite easily, but not with the skeleton examples on that page (but they do point that out themselves).

Re: Solved by Flexbox

#9
Just started a test project using flexbox and I'm finding myself using it constantly.

In the "individual grid sample" why have you chose to make a 2/3rds and 1/3rd column with divs respectively

    flex:1; width:33.3333333%
instead of leveraging the ratio

    flex:2; flex:1
Post reply on HN