CKTIS / CSS
border-inline-start — inline-start border
border-inline-start sets the width, style, and color of the border at the start of the inline axis. Its physical edge follows the writing direction and writing mode rather than always being 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: <line-width> || <line-style> || <color>;border-inline-start is a shorthand setting border-inline-start-width, border-inline-start-style, and border-inline-start-color. It targets one logical edge; border-inline sets both inline-axis edges.
With writing-mode: horizontal-tb and direction: ltr, start is the left edge; with direction: rtl, it is the right edge. In vertical writing modes, it can be the top or bottom edge. In general, mapping depends on writing-mode, direction, and text-orientation.
The grammar operator || means at least one component, in any order. Omitted components reset to their initial values: medium, none, and currentcolor. Consequently, border-inline-start: 4px navy alone produces no visible line: the style remains none. The property is not inherited.
The example explicitly sets horizontal writing mode. The expected border is 4px wide, solid, and navy: on the left for LTR, on the right for RTL.
Examples
<!doctype html>
<meta charset="utf-8">
<title>border-inline-start</title>
<style>
.box {
writing-mode: horizontal-tb;
border: 0;
border-inline-start: 4px solid navy;
padding: 8px;
margin: 8px;
}
</style>
<div class="box" dir="ltr">LTR</div>
<div class="box" dir="rtl">RTL</div>Result
LTR: 4px solid navy border on the left. RTL: 4px solid navy border on the right.
The displayed code and declared result were verified in an isolated environment using the method recorded in the verification evidence for this exact version.