4 ms·
I already knew about the whole “mathematically perfect corners” thing Apple does, so I was super curious how someone implemented that in CSS. I figured it was s
by Uehreka 2y ago
I already knew about the whole “mathematically perfect corners” thing Apple does, so I was super curious how someone implemented that in CSS. I figured it was some sort of new CSS feature involving splines, but then I saw there was a folder called “masks” containing PNG files at 3 resolutions and I was immediately transported back to the mid-2000s.
- echoangle 2y agoEspecially weird since CSS actually has the clip-path property which allows polygons as masks. I think converting a curve to a polygon is still better than having a literal raster image as a mask.
- Alifatisk 2y ago> I already knew about the whole “mathematically perfect corners” thing Apple does This https://arun.is/blog/apple-rounded-corners https://arun.is/blog/apple-rounded-corners ?