Re: [csswg-drafts] [css-values] Add the `fr` (flexible length) unit for general use as a length unit (#5296)

I could be misunderstanding your examples, but they both sound to me like they are solvable with Flexbox. 

You can use `flex-grow`, `flex-shrink`, and `flex-basis` to control how the items fill the space. By setting `display: flex` on your grid item, you can make the heading take only as much space as it needs a tell the `<div>` to fill the rest of the space.

Splitting the space precisely between multiple objects is a bit more complicated. I've never tried to use Flexbox in that manner.

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

Received on Tuesday, 14 July 2020 17:45:26 UTC