<superellipse>

A new experimental function for 'corner-shaping' that creates 'squircle' corners. This is the math-based rounding used by Apple in iOS icons to make corners look smoother and more organic than a standard circle.

This is an experimental technology. The syntax and behavior are still subject to change.

/* Usage Example */
.ios-style-icon {
  border-radius: 40px;
  /* Applies the smooth 'squircle' math to the corners instead of a perfect circle arc */
  corner-shaping: superellipse;
}
Limited availability Since 2020 67% global usage

This feature is not Baseline because it does not work in some of the most widely-used browsers.

139+
139+
Kinsta

Your first month is free

Managed WordPress hosting for faster sites.

Learn more

New CSS drops.

Join 600+ readers who've survived clearfix hacks.

ESC