Hacker Newsnew | past | comments | ask | show | jobs | submit | _devbryce's commentslogin

Sorry about that. When I first built this (many moons ago) it was unreasonably difficult to get it working in Safari. Sounds like it's time to revisit that issue.


Nice catch. I'll fix that. Thanks for posting about it here.


Sorry about that. When I first built this (many moons ago) it was unreasonably difficult to get it working in Safari. Sounds like it's time to revisit that issue.


TBH, I chose the title more for the alliteration :)


"Flexbox in 5 4-minute fractions"


Author/Creator of FlexboxIn5 here:

I'm glad to see this thread, because there seem to be some bugs I need to address.

Any other features you guys would find helpful? Feel free to tell me here or on twitter: @_devbryce


Let people know cookies are required. It took me a moment to realize that's why nothing was happening.

Then ask whether you really require cookies. What value do they add?


I'm really confused by the downvoting on this site.

The page fails to work if cookies are disabled. That is a fact. Some people - a minority, perhaps - disable cookies and other technologies, often for privacy reasons. That is also a fact.

(We could discuss the ins and outs of that discussion, the value proposition, the efficacy, etc., but none of those change those two simple facts.)

Another fact: Sites that use cookies must announce this use in certain jurisdictions. Again we could discuss the merits of this requirement, but that would not change the fact of it.

So were the downvotes for stating facts or for questioning a design decision?

I would have thought HN folks were rather keen on both facts and design discussions.

Perhaps I'm wrong. I'm definitely surprised. Ah well.


Step 32 has me scratching my head. I've set the suggested property values, but all of the elements still shrink at a uniform rate when I click resize box.

Am I missing something, or is there an error/omission in the instructions?


Me too. And on 34, "You'll see that when the item reaches its flex basis, it stops flexing and something else has to flex" doesn't actually seem to be true. Can't tell if there's a bug or if it's something I've done wrong.


Yes, me too. Chrome 41.0.2272.76m


I'm still confused with flex-grow (step 28). When I set the value of an item to 2 while the other items remain at 1, it increase in width a little bit but not nearly twice as much (relative to the others). What does 2 actual do here?

Chrome 41.0.2272.76 m


As I recall it, the available space is divided by the sum.

So in this case the width for "2" would be: 2 * (available_width / (1 * other_items + 2))


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: