Re: [csswg-drafts] New CSS attribute proposal, expand: width height; (#6718)

Not silly, actually centering without collapsing the size was hard, I had to use the relpos+transform trick.
But well, `aspect-ratio` should cover most usecases for now. https://drafts.csswg.org/css-sizing-4/#aspect-ratio

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Friday, 8 October 2021 19:51:40 UTC