W3C home > Mailing lists > Public > public-css-archive@w3.org > August 2020

[csswg-drafts] [css-sizing-4] aspect-ratio: minimum/maximum instead of preferred (#5463)

From: ferenci84 via GitHub <sysbot+gh@w3.org>
Date: Sat, 22 Aug 2020 06:34:50 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-683941848-1598078089-sysbot+gh@w3.org>
ferenci84 has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-sizing-4] aspect-ratio: minimum/maximum instead of preferred ==
What if we want to control the layout this way:
* The height is determined by the content
* The max-height is determined by a specified aspect ratio

<img src="https://ferenci84.s3.eu-west-1.amazonaws.com/Screenshot_20200822_082132.png" />

The aspect-ratio allows determining the preferred aspect ratio, but sometimes it's not a fixed aspect-ratio, but a range. In the example I don't want the container to be taller than 1:1.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5463 using your GitHub account

Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Saturday, 22 August 2020 06:34:52 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:13 UTC