Better HN
topnewbestaskshowjobs
Log inSign up

qfr

27 karma · joined May 13, 2024 (2y ago) · 1 submissions

Submissions

comment 1y ago · link · parent

there is a way to do something close to this using lch:

  --text: lch(from var(--bg) calc((49.44 - l) * infinity) 0 0);
source: https://til.jakelazaroff.com/css/swap-between-black-and-whit...