Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
The corner-top-left-shape CSS property specifies the shape of a box's top-left corner, within its border-radius area.
For a full description of corner shape behavior and multiple examples, see the corner-shape shorthand property page.
/* Keyword values */ corner-top-left-shape: notch; corner-top-left-shape: squircle; /* superellipse() function values */ corner-top-left-shape: superellipse(3); corner-top-left-shape: superellipse(-1.5); /* Global values */ corner-top-left-shape: inherit; corner-top-left-shape: initial; corner-top-left-shape: revert; corner-top-left-shape: revert-layer; corner-top-left-shape: unset;
The corner-top-left-shape property is specified using a <corner-shape-value> value.
corner-top-left-shape =
<corner-shape-value>
<corner-shape-value> =
round |
scoop |
bevel |
notch |
square |
squircle |
<superellipse()>
<superellipse()> =
superellipse( <number [-∞,∞]> |
infinity |
-infinity )
You can find other related examples on the corner-shape reference page.
corner-top-left-shape usageThe markup for this example contains a single <div> element.
<div></div>
We give the box some basic styles, which we've hidden for brevity. We also apply a box-shadow, a border-radius of 25% 100px, and a corner-top-left-shape of scoop.
div {
box-shadow: 1px 1px 3px gray;
border-radius: 25% 100px;
corner-top-left-shape: scoop;
}
The rendered result looks like this:
| Desktop | Mobile | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Chrome | Edge | Firefox | Opera | Safari | Chrome Android | Firefox for Android | Opera Android | Safari on IOS | Samsung Internet | WebView Android | WebView on iOS | |
corner-top-left-shape |
139 | 139 | No | 123 | No | 139 | No | 91 | No | No | 139 | No |
corner-shape shorthand propertycorner-top-right-shape, corner-bottom-left-shape, and corner-bottom-right-shape
corner-start-start-shape, corner-start-end-shape, corner-end-start-shape, and corner-end-end-shape
border-radius shorthand propertyborder-top-left-radius
© 2005–2025 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/CSS/corner-top-left-shape