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

Re: [csswg-drafts] [css-values-4] Way to set height, max-height, min-height relative to width (#5461)

From: ferenci84 via GitHub <sysbot+gh@w3.org>
Date: Sat, 22 Aug 2020 05:47:36 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-678599101-1598075253-sysbot+gh@w3.org>
"Percentages mostly resolve against container size (or available space)"
One of the solutions would be exactly the same, with a small difference:
The element height instead of resolving against container size in horizontal direction, it would resolve against the container side in vertical direction.
The CSS already does this in the same axis. Doing it in different axis should be a lot simpler.
(Yes, I know it's not simple, and will take work, of course it should be formulated, by bringing other developers' opinions, so that the advantage worth the invested energy)
What do you think?


-- 
GitHub Notification of comment by ferenci84
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5461#issuecomment-678599101 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 05:47:40 UTC

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