Re: [csswg-drafts] [css-flexbox] Max flex grow (#4143)

I have an alternate solution for you: https://codepen.io/TabAtkins/pen/OKNPgE

The gist of it is that the nav is a grid, and each item is placed across three rows: `minmax(10px, 40px) auto minmax(10px, 40px)`. The `auto` column will size to the item's width, then the "side" columns will grow from 10px to 40px, depending on available space, all at the same rate.

You do have to predict how many items you'll have, but that's it.

-- 
GitHub Notification of comment by tabatkins
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4143#issuecomment-514388633 using your GitHub account

Received on Tuesday, 23 July 2019 21:21:43 UTC