Re: [csswg-drafts] [css-grid][css-sizing] Aspect Ratio

@jensimmons Very happy to hear this is being worked on! 🏅 As a developer, this is an issue we've run into multiple times. For example, getting a modal window to scale with a fixed ratio depending on how much content there is in it (with current CSS toolset the best one can do is for it to expand 100% in one axis before expanding in the other).

As for the options, I think option B (`tr` unit) is better. I also like the suggestion by @Archibald2, of using `h` and `w` (it would fit in with other dynamic units, such as `vw` and `vh`). 

Either of them (`tr` or `w/h`) would be a great addition to CSS! 💯 

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

Received on Tuesday, 23 October 2018 19:17:14 UTC