pcouy@lemmy.pierre-couy.fr to Programming@programming.dev · edit-22 days agoGoodbye SASS, welcome back native CSSmedium.comexternal-linkmessage-square26fedilinkarrow-up183arrow-down17
arrow-up176arrow-down1external-linkGoodbye SASS, welcome back native CSSmedium.compcouy@lemmy.pierre-couy.fr to Programming@programming.dev · edit-22 days agomessage-square26fedilink
minus-squarepcouy@lemmy.pierre-couy.frOPlinkfedilinkarrow-up2·1 day 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