[csswg-drafts] [css-flexbox] flex-shrink: hide (#4199)

Netmosfera has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-flexbox] flex-shrink: hide ==
Rather than shrinking the element, CSS would just hide it.

For example a `<button>` normally containing a label and a icon, might hide the label if the `<button>` gets too small.

```
<button>
    <img src="icon.png" alt="">
    <span>Label</span>
</button>
```

```
button { display: flex; flex-direction: row; }
button > img { flex: 0 0 auto; }
button > span { flex: 1 hide auto; }
```

Thank you.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4199 using your GitHub account

Received on Friday, 16 August 2019 00:14:00 UTC