Re: [csswg-drafts] [css-sizing] Rethinking how to prevent overflow in a container with an explicit aspect ratio (#3268)

i've just read through the smashing article (https://www.smashingmagazine.com/2019/03/aspect-ratio-unit-css/ @rachelandrew ) that covers the basics of issue.

The solution looks excellent and i cant wait to implement it. That said, i don't think every instance would be relative to the content, and a little forgiveness reserved for the aesthetics of layout design.

is there scope to **give grid-gap a little super power**? in as much as that when an item needs to keep its aspect ratio, the surrounding grid-gap (if used) pads out the difference in gap relative to its siblings. 

![example of variable grid-gap](http://i64.tinypic.com/34rvaxy.jpg)

as highlighted in the article, images can be cropped, copy can be scrolled with overflow, while video is ideally best viewed at the correct aspect and without cropping.

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

Received on Friday, 15 March 2019 10:03:30 UTC