Favorites

CSS <corner-shape-value> Data Type

<corner-shape-value>
CSS Data TypeThis data type is supported in some modern browsers, but not all.
Updated 21st November 2026

The <corner-shape-value> data type sets the shape of a rounded corner, such as round, squircle, bevel, scoop or notch, or superellipse().

Looks like you're using an ad blocker, and that's fine! Ads help keep CSS Portal's generators and references free, so if the site's useful to you, visit our Support page to see other ways to help.

Description

The <corner-shape-value> CSS data type describes the shape of a box's corner. It is used by the corner-shape property and its longhands, such as corner-top-left-shape. The size of each corner still comes from border-radius; corner-shape only changes the curve drawn within that radius, so a corner with no radius stays square whatever its shape.

Every shape is ultimately a superellipse() curve, and six keywords give names to common ones. round is the normal circular corner, equal to superellipse(1). squircle is a smooth, squarer curve used in many app icons, equal to superellipse(2). square is a sharp right angle (superellipse(infinity)), and bevel is a straight diagonal cut (superellipse(0)). scoop curves inward (superellipse(-1)), and notch cuts a sharp inward step (superellipse(-infinity)).

Borders, outlines, shadows and backgrounds all follow the corner shape. Browsers that do not support corner-shape show ordinary rounded corners from border-radius, so it is safe to use as an enhancement.

Examples:

.icon {
  border-radius: 28%;
  corner-shape: squircle;
}

.tag {
  border-radius: 12px;
  corner-shape: bevel;
}

/* Different shapes per corner */
.ticket {
  border-radius: 20px;
  corner-shape: scoop round;
}

Interactive Demo

Demo Code
HTML Code
<div class="demo-element"></div>
CSS Code
.demo-element {
	width: 200px;
	height: 130px;
	margin: 10px;
	border-radius: 40px;
	background: #4361ee;
	border: 4px solid #f72585;
	corner-shape: round;
}

Syntax

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

Values

  • roundA normal convex circular or elliptical corner. Equivalent to superellipse(1).
  • squircleA smooth curve between round and square. Equivalent to superellipse(2).
  • squareA sharp right-angled corner. Equivalent to superellipse(infinity).
  • bevelA straight diagonal line across the corner. Equivalent to superellipse(0).
  • scoopA concave curve that dips into the box. Equivalent to superellipse(-1).
  • notchA sharp inward step. Equivalent to superellipse(-infinity).
  • <superellipse()>Any curvature as a number; see superellipse().

Example

<div class="wrap">
<h1>CSS &lt;corner-shape-value&gt; examples</h1>
<div class="grid">
<div class="card">
<div class="shape round"></div>
<div class="label">corner-shape: round</div>
</div>
<div class="card">
<div class="shape squircle"></div>
<div class="label">corner-shape: squircle</div>
</div>
<div class="card">
<div class="shape square"></div>
<div class="label">corner-shape: square</div>
</div>
<div class="card">
<div class="shape bevel"></div>
<div class="label">corner-shape: bevel</div>
</div>
<div class="card">
<div class="shape scoop"></div>
<div class="label">corner-shape: scoop</div>
</div>
<div class="card">
<div class="shape notch"></div>
<div class="label">corner-shape: notch</div>
</div>
</div>
<p class="note">All boxes use border-radius: 36px. Browsers without corner-shape show plain rounded corners.</p>
</div>
/* Base demo layout */
* { box-sizing: border-box; }

body {
  margin: 24px;
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
  background: #f5f7fb;
  color: #102a43;
}

.wrap {
  max-width: 860px;
  margin: 0 auto;
}

h1 {
  font-size: 20px;
  margin: 0 0 16px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.card {
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 6px 18px rgba(16, 42, 67, 0.08);
}

.label {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, monospace;
  font-size: 12px;
  color: #486581;
  margin-top: 10px;
  word-break: break-word;
}

.note {
  font-size: 13px;
  color: #486581;
  margin-top: 14px;
}

/*  examples */
.shape {
  height: 100px;
  border-radius: 36px;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
}

.round { corner-shape: round; }
.squircle { corner-shape: squircle; }
.square { corner-shape: square; }
.bevel { corner-shape: bevel; }
.scoop { corner-shape: scoop; }
.notch { corner-shape: notch; }
Open in editor

Browser Support

The following information will show you the current browser support for the CSS corner-shape-value data type. Hover over a browser icon to see the version that first introduced support for this CSS data type.

This data type is supported in some modern browsers, but not all.

Desktop

Chrome
Edge
Firefox
Opera
Safari

Tablets & Mobile

Chrome Android
Firefox Android
Opera Android
Safari iOS
Samsung Internet
Android WebView
-
Supported Unknown Not supported

Looks like you're using an ad blocker, and that's fine! Ads help keep CSS Portal's generators and references free, so if the site's useful to you, visit our Support page to see other ways to help.