CSS Squircle Generator
- Drag the corners on the preview
- corner-shape: squircle, bevel, scoop and notch
- Rounded fallback for other browsers
- Browser support beside the code
Controls
Browser support
Support data last reviewed .
What corner-shape does
The corner-shape property changes the curve of a rounded corner without changing its size. border-radius still decides how far each corner reaches; corner-shape decides whether that corner is a circular arc, a smooth squircle, a straight bevel, an inward scoop or a notch. Because it reshapes the box itself, borders, outlines, shadows and backgrounds all follow the new corners.
Syntax
border-radius: <size>; corner-shape: squircle | round | bevel | scoop | notch | square | superellipse(<K>);
| Part | What it controls |
|---|---|
| border-radius | Still required. It sets how big each corner is, and corner-shape has nothing to reshape when it is 0. |
| squircle | A smooth, continuous curve between a square and a circle, the look of iOS app icons. Shorthand for superellipse(2). |
| round | The ordinary circular corner and the default value, equal to superellipse(1). |
| bevel | A straight diagonal cut across the corner, equal to superellipse(0). |
| scoop | A concave curve cut into the corner, equal to superellipse(-1). |
| notch | A square bite taken out of the corner, equal to superellipse(-infinity). |
| square | Keeps the corner sharp whatever the radius. Mostly useful when mixing shapes on different corners. |
| superellipse(K) | Any curve in between. Higher values get squarer, lower and negative values get more concave. |
| four values | Clockwise from the top left, the same order as border-radius: corner-shape: squircle bevel squircle bevel. |
Notes from practice
Squircles look tighter at the same radius
A squircle hugs the straight edges for longer before it turns, so it reads as less rounded than a circular corner of the same size. Designs usually give squircles a larger radius. With Fallbacks on, the generator writes a smaller round radius for browsers that ignore corner-shape, so the two look closer.
It degrades to rounded corners
Browsers without corner-shape drop the declaration and draw plain border-radius. Nothing breaks, the corner is just circular, which makes corner-shape safe to ship today as an enhancement.
Better than clip-path for UI
clip-path cuts off borders, outlines and box-shadows, and a path() is fixed to one pixel size. corner-shape scales with the element and keeps all of them, including focus rings.
CSS Squircle Generator FAQ
How do I make a squircle in CSS?
Set a border-radius and add corner-shape: squircle, for example border-radius: 40px; corner-shape: squircle. In Chrome and Edge 139 and later the corners render as a smooth superellipse; other browsers show ordinary rounded corners.
Which browsers support corner-shape?
Chrome and Edge from version 139. At the time of writing Firefox and Safari do not support it, so treat it as progressive enhancement on top of border-radius.
What is the difference between a squircle and border-radius?
border-radius alone always draws a circular or elliptical arc. corner-shape: squircle keeps the same corner size but swaps the arc for a superellipse, which bends gradually, so there is no visible point where the curve meets the straight edge.
Does box-shadow follow corner-shape?
Yes. Unlike clip-path, corner-shape changes the shape of the box itself, so box-shadow, borders, outlines and backgrounds all follow the new corners.
How do I make bevelled or notched corners in CSS?
Use corner-shape: bevel for a straight diagonal cut or corner-shape: notch for a square cut-out, with border-radius setting how big the cut is. Before corner-shape this needed clip-path polygons, which also clipped borders and shadows.
Related generators
- Border Radius — Round each corner on its own, or switch to elliptical radii for organic blob shapes.
- Clip Path — Cut an element into polygons, circles, ellipses or rounded insets.
- Box Shadow — Stack up to three shadow layers, mix inset and outer shadows, and tune colour and opacity.
- CSS Mask — Fade, spotlight or pattern an element away with gradient masks. Opaque pixels show, transparent pixels hide.
More in Shape & Borders
Part of CSSGen.dev — 34 free visual CSS generators with browser support built in.