- From: Oriol Brufau via GitHub <sysbot+gh@w3.org>
- Date: Fri, 24 Sep 2021 14:00:31 +0000
- To: public-css-archive@w3.org
> Yeah, `sign()` is almost sufficient, except for the 0 case. What's the problem for 0? If you want something special for 0, you can use `(1 - abs(sign(var(--x)))) * value` Having proper conditionals would be better of course, but for now `sign()` seems good enough. -- GitHub Notification of comment by Loirooriol Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6638#issuecomment-926649150 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 24 September 2021 14:00:33 UTC