- From: Wes via GitHub <sysbot+gh@w3.org>
- Date: Fri, 16 Aug 2019 00:13:59 +0000
- To: public-css-archive@w3.org
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