Knowledge baseExam Center
ENEnglish
Choose language13

CKTIS / CSS

corner-inline-start-shape — shapes on the inline-start side

A logical shorthand that specifies the shapes of both inline-start corners without changing their radii.

Version: CSS modules; structured CSSWG indexes reconciled with pinned MDN BCD; Chromium 152 scope gate, per-example verification still required

Syntax

corner-inline-start-shape: <corner-shape-value>{1,2};
<corner-shape-value> = round | scoop | bevel | notch | square | squircle | superellipse(<number> | infinity | -infinity)

corner-inline-start-shape sets corner-start-start-shape and corner-end-start-shape with its first and second values, respectively. One value applies to both corners. The initial shape is round; the property is not inherited.

The side follows writing direction: with writing-mode: horizontal-tb and direction: ltr, it is left; with direction: rtl, right. Shaping requires a nonzero border-radius. Unlike corner-inline-start, this shorthand does not set radii. A CSSWG draft definition does not establish browser support; the example requires local verification.

Examples

<!doctype html>
<meta charset="utf-8">
<title>corner-inline-start-shape</title>
<style>
  .box {
    writing-mode: horizontal-tb;
    direction: ltr;
    width: 160px;
    height: 100px;
    background: #1769aa;
    border-radius: 24px;
    corner-inline-start-shape: bevel notch;
  }
</style>
<div class="box"></div>

Result

With support: a blue box with a beveled top-left corner, a notched bottom-left corner, and rounded right corners. Without support: all four corners remain rounded.

The displayed code and declared result were verified in an isolated environment using the method recorded in the verification evidence for this exact version.

Sources