Firefox Tomorrow

css property

`corner-inline-start-shape` CSS property

View on MDN ↗

Limited availability

The corner-inline-start-shape CSS property specifies the shape of both the corners on a box’s inline-start edge, within their border-radius area.

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

Constituent properties

The corner-inline-start-shape property is a shorthand for the following logical properties:

Syntax

/* Single keyword value set for both corners */
corner-inline-start-shape: round;
corner-inline-start-shape: bevel;

/* Single superellipse() value set for both corners */
corner-inline-start-shape: superellipse(0.5);
corner-inline-start-shape: superellipse(-3);

/* Block-start/inline-start corner, block-end/inline-start corner */
corner-inline-start-shape: round bevel;
corner-inline-start-shape: round superellipse(0.5);

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

Values

The corner-inline-start-shape property is specified using one or two <corner-shape-value> values:

  • If one value is used, it specifies the shape of both inline-start corners.
  • If two values are used, the first one specifies the shape of the block-start/inline-start corner, and the second one specifies the shape of the block-end/inline-start corner.

Formal definition

Formal syntax

Examples

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

Basic corner-inline-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 60 pixels, and a corner-inline-start-shape of square 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;
  corner-inline-start-shape: square bevel;
}

Result

The rendered result looks like this:

Interactive exampleOpen the canonical MDN source to run this embedded demo.

Specifications

SpecificationsStandards references are available on the canonical MDN page.

Browser compatibility

Browser compatibilityCompatibility data is available on the canonical MDN page.

See also