W3C home > Mailing lists > Public > public-css-archive@w3.org > December 2017

Re: [csswg-drafts] [css-flexbox][css-grid] Choose a single option for resolving padding and margin percent values of grid/flex items

From: Stanislav Lashmanov via GitHub <sysbot+gh@w3.org>
Date: Thu, 21 Dec 2017 03:36:22 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-353249824-1513827381-sysbot+gh@w3.org>
> I also love the idea of being able define what a percentage is relative to by specifying something like %w %h, although I wonder if it might be a better idea to follow the pattern of viewport relative units, something like w, h, min, max?

That would be a good candidate to use with `minmax` function: `minmax( 10%min, 10%max );`.

GitHub Notification of comment by CyberAP
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2085#issuecomment-353249824 using your GitHub account
Received on Thursday, 21 December 2017 03:36:25 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:21 UTC