- From: Scott Kellum via GitHub <sysbot+gh@w3.org>
- Date: Wed, 29 Jun 2022 18:18:38 +0000
- To: public-css-archive@w3.org
Adding a note from @jonathantneal [via Twitter](https://twitter.com/jon_neal/status/1542209464744509441?s=20&t=VZfEV2NTfUiUWAFH9UGFWQ) where he talks about adding some of the above functionality. I think it’s needed as it greatly expands the utility of custom units.
> When I first pitched the approach, it did suppose a special unit to signify the original number.
>
> It supposed an `x` unit, but that was taken.
> Perhaps it should have been `var`.
```css
@property --fluid {
syntax: "<length>";
initial: clamp(1rem, 1vw * 1var, 1rem * 1var);
inherits: true;
}
h1 {
font-size: 4--fluid;
}
```
--
GitHub Notification of comment by scottkellum
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7379#issuecomment-1170335569 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 29 June 2022 18:18:40 UTC