Knowledge baseExam Center
ENEnglish
Choose language13

CKTIS / CSS

corner-left-shape — left corner shapes

A CSS shorthand setting the shapes of the two physical left 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-left-shape: <'corner-top-left-shape'>{1,2};

corner-left-shape sets corner-top-left-shape and corner-bottom-left-shape, in top–bottom order. One value sets both corners. The side is physical, independent of writing direction.

Available values are round, scoop, bevel, notch, square, squircle, and superellipse(). Both corners initially use round; the properties are not inherited.

The shorthand does not set radii: with zero border-radius, shaping has no visible effect. In the example, bevel square bevels the top-left corner and squares the bottom-left corner. The right side remains rounded. Specification inclusion does not guarantee support.

Examples

<!doctype html>
<meta charset="utf-8">
<title>corner-left-shape</title>
<style>
  .box {
    width: 180px;
    height: 100px;
    background: teal;
    border-radius: 24px;
    corner-left-shape: bevel square;
  }
</style>
<div class="box"></div>

Result

With support: a teal box with a beveled top-left corner, a square 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