What is Nostr?
Lea Verou /
npub1al7…kh5q
2024-05-21 17:08:20

Lea Verou on Nostr: Emulate #CSS math functions that are not baseline yet with CSS math functions that ...

Emulate #CSS math functions that are not baseline yet with CSS math functions that are:

1. abs(var(--x)) =
max(var(--x), -1 * var(--x))

2. sign(var(--x)) =
clamp(-1, var(--x) * infinity, 1)

(caveat: will return NaN instead of 0 for 0)
Author Public Key
npub1al72g7fmyugvn5u372hjg078y295gephuy7xqkewaycaqvcexdhsw2kh5q