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 accountReceived on Monday, 19 February 2018 12:20:48 UTC
This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:24 UTC