Exploring the CSS corner-shape property with squircle curves - a smoother, more organic alternative to standard border-radius
Organic, continuous curve
Circular arc approximation
Squircle
Standard
Small (60px)
radius: 12px
Medium (100px)
radius: 20px
Large (160px)
radius: 32px
XL (240px)
radius: 48px
radius: 16px
radius: 24px
radius: 32px
Mobile Card
120×200, r=24px
Profile Card
160×280, r=32px
Story Card
200×360, r=40px
Ultra-wide Bar (600×50)
Ultra-tall (80×300)
.squircle-button {
border-radius: calc(36px * 0.7); /* 25.2px */
corner-shape: squircle;
}corner-shape: squircle creates a superellipse curve (Lamé curve with n≈5)border-radius value controls the corner sizeMicrosoft Edge 151+ (Chromium)
Experimental support behind flag
Chrome/Chromium (Not yet)
In experimental phase, may arrive in future versions
Firefox, Safari (No support)
Falls back to standard border-radius
The corner-shape property is part of the CSS Shapes Level 2 proposal. If adopted widely, it could provide native support for design trends popularized by Apple's design language. However, current adoption is minimal, and it may take years before it's safe to use in production without fallbacks.
For now, treat this as a progressive enhancement feature - provide the property for supporting browsers, but ensure your design works perfectly with standard border-radius.
Demo inspired by Microsoft Edge 151 Update