The border-inline-start-width property sets how thick the border is on the inline-start side only.
01
inline-start
leading side width.
02
thin
About 1px.
03
medium
Default ~3px.
04
thick
About 5px.
05
Length
px, em, rem.
06
RTL Ready
Direction-aware.
Fundamentals
Definition and Usage
The border-inline-start-width CSS property controls the thickness of the border on the inline-start side of an element. It is a longhand of border-inline-start and accepts the same width values as standard border width properties.
Unlike border-left-width, which always targets the physical left side, border-inline-start-width adapts to writing mode and text direction — useful for RTL layouts and multilingual interfaces.
💡
Beginner Tip
border-inline-start-width only sets thickness. Pair it with border-inline-start-style and border-inline-start-color, or use the border-inline-start shorthand.
Foundation
📝 Syntax
border-inline-start-width accepts keyword or length values:
The default value of border-inline-start-width is medium, which browsers typically render as about 3px when a visible border style is applied.
Reference
💎 Property Values
Value
Example
Meaning
thin
border-inline-start-width: thin;
Thin border, typically about 1px
medium
border-inline-start-width: medium;
Default thickness, typically about 3px
thick
border-inline-start-width: thick;
Thick border, typically about 5px
Length
border-inline-start-width: 2px;
Exact size in px, em, rem, etc.
initial
border-inline-start-width: initial;
Resets to the default medium value
inherit
border-inline-start-width: inherit;
Inherits from the parent element
Keyword Width Comparison
thin~1px
medium~3px default
thick~5px
Scope
Inline-Start Width and Writing Modes
border-inline-start-width always applies to the start of the inline axis. The physical side changes with text direction.
LTR (direction: ltr)
5px inline-start (usually left)
RTL (direction: rtl)
5px inline-start (usually right)
Compare
border-inline-start-width vs related properties
Property
Targets
Best for
border-inline-start-width
Thickness on inline-start only
Thick leading dividers in logical layouts
border-inline-start
Width, style, and color on inline-start
Setting the full inline-start border in one rule
border-inline-start-style
Line style on inline-start
solid, dashed, or dotted patterns
border-left-width
Physical left side thickness
Fixed LTR-only layouts
Preview
👀 Live Preview
A box with a 4px blue inline-start border:
4px border on the inline-start side.
Uses border-inline-start: 4px solid #2563eb;.
Hands-On
Examples Gallery
Try border-inline-start-width with pixel values, keywords, relative units, and RTL layouts.
📚 Basic Start Border Widths
Control thickness on the leading inline border side.
Example 1 — 5px inline-start Border
Set a 5px width on inline-start with style and color longhands, matching the reference tutorial.
border-inline-start-width-5px.html
<style>p{border-inline-start-width:5px;border-inline-start-style:solid;border-inline-start-color:#ff5733;padding:0.75rem 1rem;}</style><p>This paragraph has a 5px wide border on the inline start side, which adjusts based on the writing mode of the document.</p>
This paragraph has a 5px wide border on the inline start side, which adjusts based on the writing mode of the document.
How It Works
Three longhands work together: width sets thickness, style makes the line visible, and color sets the line color. In LTR, inline-start is usually the left edge.
Example 2 — thin, medium, and thick Keywords
Use keyword widths for quick, browser-defined thickness on the inline-start side.
thin, medium, and thick are keyword widths. Browsers map them to approximate pixel sizes — useful when you want consistent relative thickness without exact px values.
🎨 Relative Units and RTL
Scale start borders with text size and direction.
Example 3 — em-Based Inline-Start Width
Use em so the start border scales with the element’s font size.
The 6px width still applies to inline-start. In RTL, that is usually the right side — no separate border-right-width rule is needed.
🧠 How border-inline-start-width Works
1
Width reserves space
border-inline-start-width sets how much room the border takes on the leading side.
Width
2
Style makes it visible
A visible style such as solid or dashed is required to see the width.
Style
3
Direction maps the side
inline-start maps to the correct physical side for LTR or RTL.
Mapping
=
▪️
Sized start border
Only the leading inline edge shows your chosen border thickness.
Compatibility
Modern Browser Support
The border-inline-start-width property is supported in all modern browsers, including Chrome, Firefox, Safari, Edge, and Opera.
✓ Baseline · Modern browsers
Logical inline-start widths in today’s browsers
Chrome, Edge, Firefox, Safari, and Opera support border-inline-start-width in LTR and RTL layouts.
94%Modern browser support
Google Chrome87+ · Desktop & Mobile
Full support
Mozilla Firefox66+ · Desktop & Mobile
Full support
Apple Safari14.1+ · macOS & iOS
Full support
Microsoft Edge87+ · All versions
Full support
Opera73+ · Modern versions
Full support
border-inline-start-width property94% supported
Bottom line: Use border-inline-start-width for direction-aware leading border thickness in modern multilingual projects.
Wrap Up
Conclusion
The border-inline-start-width property controls how thick the leading inline border is. Use it for quote bars, thick start highlights, and layouts that stay correct in LTR and RTL writing modes.
Combine it with style and color longhands, or use the border-inline-start shorthand when you want all three values together.
Set border-inline-start-style alongside width for visible borders
Use em or rem when the border should scale with text
Prefer logical start widths over border-left-width in RTL layouts
Test start border widths in both LTR and RTL
Use the shorthand when width, style, and color are all needed
❌ Don’t
Set width alone without a visible border style
Assume inline-start is always the physical left side
Mix conflicting physical and logical width rules on the same element
Rely on keyword widths when you need pixel-perfect design
Hard-code RTL overrides when one logical rule suffices
Summary
Key Takeaways
Knowledge Unlocked
Five things to remember about border-inline-start-width
Use these points when sizing leading inline borders.
5
Core concepts
▪️01
Start width only
Leading side.
Purpose
⚡02
Default medium
~3px.
Default
🔀03
thin / thick
Keywords.
Values
🌐04
RTL ready
Direction-aware.
Logical
🛠05
Needs style
Width longhand.
Usage
❓ Frequently Asked Questions
The border-inline-start-width property sets how thick the border is on the inline-start side only — the leading edge along the text flow direction.
The initial value is medium, which browsers typically render as about 3px when a visible border style is set.
In horizontal left-to-right text, inline-start is usually the left side. In RTL, inline-start is usually the right side.
Width alone does not draw a border. You also need a visible border-inline-start-style such as solid or dashed, and usually a color.
border-left-width always targets the physical left side. border-inline-start-width follows writing direction, so the same rule works in LTR and RTL layouts.