Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
The corner-inline-end-shape CSS property specifies the shape of both the corners on a box's inline-end edge, within their border-radius area.
For a full description of corner shape behavior and multiple examples, see the corner-shape shorthand property page.
The corner-inline-end-shape property is a shorthand for the following physical properties:
/* Single keyword value set for both corners */ corner-inline-end-shape: squircle; corner-inline-end-shape: scoop; /* Single superellipse() value set for both corners */ corner-inline-end-shape: superellipse(1.5); corner-inline-end-shape: superellipse(-0.8); /* Block-start/inline-end corner, block-end/inline-end corner */ corner-inline-end-shape: squircle scoop; corner-inline-end-shape: squircle superellipse(-0.8); /* Global values */ corner-inline-end-shape: inherit; corner-inline-end-shape: initial; corner-inline-end-shape: revert; corner-inline-end-shape: revert-layer; corner-inline-end-shape: unset;
The corner-inline-end-shape property is specified using one or two <corner-shape-value> values:
corner-inline-end-shape =
<'corner-top-left-shape'>{1,2}
<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-inline-end-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 15% 30%, and a corner-inline-end-shape of bevel squircle.
div {
box-shadow: 1px 1px 3px gray;
border-radius: 15% 30%;
corner-inline-end-shape: bevel squircle;
}
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-inline-end-shape |
139 | 139 | No | 123 | No | 139 | No | 91 | No | No | 139 | No |
corner-shape shorthand propertycorner-block-start-shape, corner-block-end-shape, and corner-inline-start-shape
corner-top-shape, corner-bottom-shape, corner-left-shape, and corner-right-shape
border-radius shorthand propertyborder-start-end-radius and border-end-end-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-inline-end-shape