Knowledge baseExam Center
ENEnglish
Choose language13

CKTIS / CSS

corner-block-start-shape — block-start corner shapes

A logical CSS shorthand setting the shapes of the two block-start corners. The sizes of the corner regions are controlled separately by border-radius.

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

Syntax

corner-block-start-shape: <corner-shape-value>{1,2};
<corner-shape-value> = round | scoop | bevel | notch | square | squircle | superellipse(<number> | infinity | -infinity);
/* CSS-wide keywords are also accepted. */

corner-block-start-shape sets corner-start-start-shape and corner-start-end-shape, in that order. One value applies to both corners; two correspond to inline-start and inline-end.

This is logical: mapping depends on writing mode and text direction. With horizontal-tb and ltr, it selects the top-left and top-right corners. It changes shape, not radius; a zero radius leaves no visible effect.

This feature is defined in a working draft. Do not infer support from a browser version alone. The example needs local verification; without support, the declaration is ignored.

Examples

<!doctype html>
<meta charset="utf-8">
<title>corner-block-start-shape</title>
<style>
  .box {
    writing-mode: horizontal-tb;
    direction: ltr;
    width: 200px;
    height: 120px;
    background: #176b99;
    border-radius: 24px;
    corner-block-start-shape: bevel round;
  }
</style>
<div class="box"></div>

Result

With support: a blue 200 × 120 CSS-pixel box with a beveled top-left corner and three rounded corners. Without support: four rounded corners.

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