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

How about a simple ew relative unit added that is percentage of element width?

Then we can just `height: 100ew;` to make something square or `height: 56.25ew` for a 16:9 box?

Obviously with an addendum that ew is ignored on the width property. This way, it can apply to all elements as they already work?

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

Received on Monday, 19 February 2018 12:20:48 UTC