pcouy@lemmy.pierre-couy.fr to Programming@programming.dev · edit-21 day agoGoodbye SASS, welcome back native CSSmedium.comexternal-linkmessage-square25fedilinkarrow-up181arrow-down18
arrow-up173arrow-down1external-linkGoodbye SASS, welcome back native CSSmedium.compcouy@lemmy.pierre-couy.fr to Programming@programming.dev · edit-21 day agomessage-square25fedilink
minus-squarepcouy@lemmy.pierre-couy.frOPlinkfedilinkarrow-up2·19 hours 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