CKTIS / CSS
border-inline-start-width — border thickness at inline start
border-inline-start-width sets the thickness of one logical border edge. Its physical location depends on writing direction and writing mode, so it is not necessarily the left edge.
Version: CSS modules; structured CSSWG indexes reconciled with pinned MDN BCD; Chromium 152 scope gate, per-example verification still required
Syntax
border-inline-start-width: <line-width>;
/* Core values: <length [0,∞]> | thin | medium | thick */
/* CSS-wide keywords are also accepted. */border-inline-start-width sets border thickness at the start of the inline axis. With writing-mode: horizontal-tb, this is the left edge for direction: ltr and the right edge for direction: rtl. Mapping depends on writing-mode, direction, and text-orientation; do not equate this property with border-left-width.
Core values are a nonnegative length, such as 8px, and thin, medium, or thick. Percentages are invalid. The initial value is medium, and the property is not inherited. The keywords do not guarantee particular pixel counts. The Level 4 draft also adds hairline, but this entry does not establish its support in the target browser.
Thickness alone does not enable a visible border: a corresponding style of none or hidden gives a used thickness of zero. Set, for example, border-inline-start-style: solid. Unlike the border-inline-start shorthand, this property does not set color or style.
The example first zeroes every edge while retaining solid style, then sets one logical thickness. Expected results describe CSS pixel values, not physical screen-pixel counts.
Examples
<!doctype html>
<meta charset="utf-8">
<title>border-inline-start-width</title>
<style>
.box {
writing-mode: horizontal-tb;
border: 0 solid black;
border-inline-start-width: 8px;
padding: 12px;
margin: 12px;
}
</style>
<div class="box" dir="ltr">LTR</div>
<div class="box" dir="rtl">RTL</div>Result
LTR: border-left-width = 8px; border-right-width = 0px. RTL: border-left-width = 0px; border-right-width = 8px.
The displayed code and declared result were verified in an isolated environment using the method recorded in the verification evidence for this exact version.