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

> And on the subject of aspect ratio, I think a property for it is best. Something readable and elegant, like "aspect-ratio: 4 3."

I've thought about this too! I like the idea of an `aspect-ratio` property, though I think the value ought to be expressed as a ratio! CSS is already aware of ratios: https://drafts.csswg.org/mediaqueries-4/#typedef-ratio

Maybe something like:

```css
aspect-ratio: 4/3;
```

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

Received on Thursday, 4 January 2018 14:08:29 UTC