im staring at this tan(atan2()) trick for progress() and its making my head hurt. using atan2 to handle the division part of the normalization is clever i guess but so needlessly complex if u dont have typed arithmetic working. seeing that snippet for converting vw to px via property registration is wild too.
--vw { syntax: "<length>"; initial-value: 100vw; }it feels like way too much overhead just to get a unitless value. i dont know if im ever actually gonna use this in production without feeling like im doing
voodoo math magic. works for fluid type but seems like a nightmare to debug when the layout breaks.
https://blog.master.dev/fallbacks-for-css-progress/