- From: Miriam Suzanne via GitHub <sysbot+gh@w3.org>
- Date: Thu, 05 Jan 2023 19:14:13 +0000
- To: public-css-archive@w3.org
Another approach would be `cqi(10, card)` - which could be used inside or outside of calc. I think that avoids new patterns entirely, since it's just a set of new match functions. Used with custom units, you could do something like: ```css html { --card-i: cqi(1, card); --card-min: cqmin(1, card); } div { padding: 10--card-min 10--card-i; } ``` I still like the functional unit approach if possible, though. -- GitHub Notification of comment by mirisuzanne Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7858#issuecomment-1372626817 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 5 January 2023 19:14:15 UTC