CSS corner-shape: Beyond border-radius
For years, border-radius was the only tool we had for shaping corners in CSS. It could round them – and that was about it. Every bevel, notch, or squircle required SVGs, images, or clip-path workarounds that broke borders and shadows. [...]