CKTIS / CSS
corner-inline-end-shape — shapes of the inline-end corners
A logical CSS shorthand that sets the shapes of the two inline-end corners. It accepts one or two shape values; border-radius still determines the size of the corner areas.
Version: CSS modules; structured CSSWG indexes reconciled with pinned MDN BCD; Chromium 152 scope gate, per-example verification still required
Syntax
corner-inline-end-shape: <corner-shape-value>{1,2};
<corner-shape-value> = round | scoop | bevel | notch | square | squircle | superellipse(<number> | infinity | -infinity)corner-inline-end-shape sets corner-start-end-shape, then corner-end-end-shape: block-start, block-end order. One value applies to both corners. With writing-mode: horizontal-tb and direction: ltr, these are the top-right and bottom-right corners; with direction: rtl, they are top-left and bottom-left.
Values describe shape, not size. A nonzero border-radius is required. The initial shape is round; the properties are not inherited. Unlike corner-inline-end, this shorthand does not set radii.
This is a working-draft feature. The exact example code and its declared result were verified in an isolated environment. Before deployment, still check support and rendering in your target browser.
Examples
<!doctype html>
<meta charset="utf-8">
<title>corner-inline-end-shape</title>
<style>
.sample {
writing-mode: horizontal-tb;
direction: ltr;
width: 180px;
height: 100px;
background: #1769aa;
border-radius: 24px;
corner-inline-end-shape: bevel scoop;
}
</style>
<div class="sample"></div>Result
With support: a blue box with a beveled top-right corner, a scooped bottom-right corner, and rounded left 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.