Re: [csswg-drafts] [css-flexbox][css-grid] Choose a single option for resolving padding and margin percent values of grid/flex items

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 account

Received on Wednesday, 20 December 2017 16:33:04 UTC