Spec-Zone.ru › CSS

`corner-start-end-shape` CSS property

Baseline Limited availability

This feature is not Baseline because it does not work in some of the most widely-used browsers.

Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

The corner-start-end-shape CSS property specifies the shape of a box's block-start and inline-end 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-start-end-shape: square;
corner-start-end-shape: bevel;

/* superellipse() function values */
corner-start-end-shape: superellipse(1.5);
corner-start-end-shape: superellipse(-2.2);

/* Global values */
corner-start-end-shape: inherit;
corner-start-end-shape: initial;
corner-start-end-shape: revert;
corner-start-end-shape: revert-layer;
corner-start-end-shape: unset;

Values

The corner-start-end-shape property is specified using a <corner-shape-value> value.

Formal definition

Initial value round
Applies to all elements
Inherited no
Computed value The corresponding <a href="/en-US/docs/Web/CSS/Reference/Values/superellipse">superellipse()</a> value.
Animation type Animates as per <a href="https://drafts.csswg.org/css-borders/#superellipse-interpolation">superellipse interpolation</a>.

Formal syntax

corner-start-end-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-start-end-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 20px 40px 60px 80px, and a corner-start-end-shape of notch.

body {
  font-family: "Helvetica", "Arial", sans-serif;
  width: 240px;
  margin: 20px auto;
}

div {
  width: 100%;
  height: 180px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: cyan;
  background-image: linear-gradient(
    to bottom,
    rgb(255 255 255 / 0),
    rgb(255 255 255 / 0.5)
  );
}
div {
  box-shadow: 1px 1px 3px gray;
  border-radius: 20px 40px 60px 80px;
  corner-start-end-shape: notch;
}

Result

The rendered result looks like this:

Specifications

Specification
CSS Borders and Box Decorations Module Level 4
# propdef-corner-start-end-shape

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-start-end-shape
139
139
No
123
preview
139
No
91
No
30.0
139
No
bevel
139
139
No
123
preview
139
No
91
No
30.0
139
No
notch
139
139
No
123
preview
139
No
91
No
30.0
139
No
round
139
139
No
123
preview
139
No
91
No
30.0
139
No
scoop
139
139
No
123
preview
139
No
91
No
30.0
139
No
square
139
139
No
123
preview
139
No
91
No
30.0
139
No
squircle
139
139
No
123
preview
139
No
91
No
30.0
139
No

See also

  • corner-shape shorthand property
  • corner-start-start-shape, corner-end-start-shape, and corner-end-end-shape
  • corner-top-left-shape, corner-top-right-shape, corner-bottom-left-shape, and corner-bottom-right-shape
  • border-radius shorthand property
  • border-start-end-radius
  • CSS borders and box decorations module
  • CSS backgrounds and borders module

© 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/Reference/Properties/corner-start-end-shape

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API