Re: [csswg-drafts] [css-flexbox-1][css-grid-1] Note to explain flex values < 1

Assuming that the `flex` total is less than 1, then something like `flex: 0.15` seems to be equivalent to this:

```css
  min-width: fit-content;
  width: 15%;
```

Demo: https://codepen.io/simevidas/pen/erGXRZ?editors=1100

Is that correct? If yes, is there a reason to use one over the other (are there any notable side effects)?

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

Received on Sunday, 6 May 2018 18:06:48 UTC