CKTIS / CSS
corner-block-end-shape — block-end corner shapes
A logical CSS shorthand setting the shapes of both block-end corners independently of their radii.
Version: CSS modules; structured CSSWG indexes reconciled with pinned MDN BCD; Chromium 152 scope gate
Syntax
corner-block-end-shape: <corner-shape-value>{1,2};
<corner-shape-value> = round | scoop | bevel | notch | square | squircle | superellipse(<number> | infinity | -infinity)corner-block-end-shape sets corner-end-start-shape and corner-end-end-shape, in inline-start/inline-end order. One value applies to both. The writing mode (writing-mode) determines which physical edge is block-end; it is not always the bottom edge. Switching direction between ltr and rtl swaps inline-start and inline-end without moving the block-end edge.
Both shapes initially use round and are not inherited. This shorthand does not set radii: a nonzero border-radius is needed. bevel creates a diagonal cut; round creates a quarter ellipse.
This is a CSSWG draft definition, not a support guarantee. How the example renders depends on whether your browser supports the property.
Examples
<!doctype html>
<meta charset="utf-8">
<title>corner-block-end-shape</title>
<style>
.box {
writing-mode: horizontal-tb;
direction: ltr;
width: 160px;
height: 100px;
background: teal;
border-radius: 24px;
corner-block-end-shape: bevel round;
}
</style>
<div class="box"></div>Result
With support: a teal box with a beveled bottom-left corner and three rounded corners. Without support: four rounded corners.
The code and expected result were checked for this exact version of the example. This does not establish that the example was run in your browser or that your browser supports the property.