大网数据广告活动
Web 标准与前端开发

`corner-end-start-shape` CSS property

· 52CE 我爱测

The **`corner-end-start-shape`** CSS property specifies the shape of a box's block-end and inline-start corner, within its border-radius area.

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

/* superellipse() function values */
corner-end-start-shape: superellipse(0.2);
corner-end-start-shape: superellipse(-5);

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

Values

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

Formal definition

Formal syntax

Examples

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

Basic corner-end-start-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 60px / 20%, and a corner-end-start-shape of bevel.

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: orange;
  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: 60px / 20%;
  corner-end-start-shape: bevel;
}

Result

The rendered result looks like this:

basic-usage

Specifications

Browser compatibility

See also

  • corner-shape shorthand property
  • corner-start-start-shape, corner-start-end-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-end-start-radius
  • CSS borders and box decorations module
  • CSS backgrounds and borders module

来源:MDN Web Docs / Mozilla 贡献者 · 作者与贡献记录 · CC BY-SA 2.5。离线整理了版式、链接和媒体显示。

资料来源与适用范围

资料来源
MDN Web Docs / Mozilla 贡献者
适用范围
请按文中版本与环境说明核对
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 2.5

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。