Keep it simple for the CSS newcomers and use axis relativity. It's a pain to figure that out for the first time when it doesn't work as expected. Something like `box-fit` (object fit for block-level elements) could be implemented to deal with aspect ratio issue. For those who want flexibility I think %w and %h is a great idea. Not only for Flexbox and Grid, but for the CSS units overall. That behavior would still let you use container width to do an aspect ratio hack. -- GitHub Notification of comment by CyberAP Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2085#issuecomment-353112846 using your GitHub accountReceived on Wednesday, 20 December 2017 16:33:04 UTC
This archive was generated by hypermail 2.4.0 : Thursday, 24 March 2022 20:26:45 UTC