W3cubDocs

/CSS

corner-top-right-shape

The corner-top-right-shape CSS property specifies the shape of a box's top-right corner, within its border-radius area.

For a full description of corner shape behavior and multiple examples, see the corner-shape shorthand property page.

Syntax

/* Keyword values */
corner-top-right-shape: scoop;
corner-top-right-shape: square;

/* superellipse() function values */
corner-top-right-shape: superellipse(2.2);
corner-top-right-shape: superellipse(-2.5);

/* Global values */
corner-top-right-shape: inherit;
corner-top-right-shape: initial;
corner-top-right-shape: revert;
corner-top-right-shape: revert-layer;
corner-top-right-shape: unset;

Values

The corner-top-right-shape property is specified using a <corner-shape-value> value.

Formal definition

Value not found in DB!

Formal syntax

corner-top-right-shape = 
<corner-shape-value>

<corner-shape-value> =
round |
scoop |
bevel |
notch |
square |
squircle |
<superellipse()>

<superellipse()> =
superellipse( <number [-∞,∞]> |
infinity |
-infinity )

Examples

You can find other related examples on the corner-shape reference page.

Basic corner-top-right-shape usage

HTML

The markup for this example contains a single <div> element.

<div></div>

CSS

We give the box some basic styles, which we've hidden for brevity. We also apply a box-shadow, a border-radius of 60 pixels, and a corner-top-right-shape of bevel.

div {
  box-shadow: 1px 1px 3px gray;
  border-radius: 60px;
  corner-top-right-shape: bevel;
}

Result

The rendered result looks like this:

Specifications

Browser compatibility

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-right-shape 139 139 No 123 No 139 No 91 No No 139 No

See also

© 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-right-shape