pcouy@lemmy.pierre-couy.fr to Programming@programming.dev · edit-218 days agoGoodbye SASS, welcome back native CSSmedium.comexternal-linkmessage-square24fedilinkarrow-up185arrow-down18cross-posted to: programming@programming.dev
arrow-up177arrow-down1external-linkGoodbye SASS, welcome back native CSSmedium.compcouy@lemmy.pierre-couy.fr to Programming@programming.dev · edit-218 days agomessage-square24fedilinkcross-posted to: programming@programming.dev
minus-squarepcouy@lemmy.pierre-couy.frOPlinkfedilinkarrow-up2·18 days ago border-radius: max(0px, min(8px, calc( (100vw - 4px - 100%) * 9999)) ); Oh I missed this. I think it’s only here to showcase doing math between different units, which is really nice in my opinion. I’m thinking about a few instances where I had to resort to dirty JS hacks just because CSS did not support this at the time
Oh I missed this. I think it’s only here to showcase doing math between different units, which is really nice in my opinion. I’m thinking about a few instances where I had to resort to dirty JS hacks just because CSS did not support this at the time