W3C home > Mailing lists > Public > public-css-archive@w3.org > August 2019

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

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

This archive was generated by hypermail 2.4.0 : Tuesday, 19 October 2021 01:31:13 UTC