Beyond border-radius: What The CSS corner-shape Property Unlocks For Everyday UI — Smashing Magazine

For years, developers have been hacking around the limitations of `border-radius`, using clip-path, SVG masks, and fragile workarounds just to get anything other than round corners. The new `corner...

By · · 1 min read
Beyond border-radius: What The CSS corner-shape Property Unlocks For Everyday UI — Smashing Magazine

Source: Smashing Magazine

For years, developers have been hacking around the limitations of `border-radius`, using clip-path, SVG masks, and fragile workarounds just to get anything other than round corners. The new `corner-shape` property finally changes that, opening the door to beveled, scooped, and squircle corners.