CKTIS / CSS
border-start-start-radius — logical corner radius
The border-start-start-radius property sets the radii of the corner where the block-start and inline-start sides meet. The selected corner depends on the element’s writing direction and writing mode rather than a fixed screen position.
Version: CSS modules; structured CSSWG indexes reconciled with pinned MDN BCD; Chromium 152 scope gate, per-example verification still required
Syntax
border-start-start-radius: <length-percentage [0,∞]>{1,2};border-start-start-radius rounds one logical corner. The first start means block-start; the second means inline-start. Mapping depends on writing-mode, direction, and text-orientation. With horizontal-tb, this is the top-left corner for ltr and the top-right corner for rtl.
Supply one or two nonnegative lengths or percentages, without a slash. One value sets both radii; two values specify the horizontal radius followed by the vertical radius, even in vertical writing modes. Percentages refer to the border box’s width and height respectively. The initial value is 0; the property is not inherited.
Unlike border-top-left-radius, this property follows the logical corner. A later border-radius declaration can override its effect according to the cascade. The example first resets every corner, then sets 32px 16px on the selected corner for two text directions.
Examples
<!doctype html>
<meta charset="utf-8">
<title>border-start-start-radius</title>
<style>
.box {
box-sizing: border-box;
width: 160px;
height: 80px;
margin: 12px;
border: 2px solid black;
background: lightblue;
writing-mode: horizontal-tb;
border-radius: 0;
border-start-start-radius: 32px 16px;
}
</style>
<div class="box" dir="ltr">LTR</div>
<div class="box" dir="rtl">RTL</div>Result
LTR: top-left corner radius = 32px 16px. RTL: top-right corner radius = 32px 16px. All other corner radii = 0px.
The displayed code and declared result were verified in an isolated environment using the method recorded in the verification evidence for this exact version.