The border-inline-start property sets a border on the inline-start side — the leading edge along the text flow direction.
01
Inline-Start
Leading side.
02
Shorthand
Width, style, color.
03
LTR / RTL
Direction-aware.
04
Logical
Not left/right.
05
Longhands
width, style, color.
06
i18n Ready
Multilingual UI.
Fundamentals
Definition and Usage
The border-inline-start CSS property is a logical shorthand that sets the border on the inline-start side of an element. It combines border-inline-start-width, border-inline-start-style, and border-inline-start-color in one declaration.
This property is part of CSS logical properties and adapts to writing mode and text direction. In horizontal left-to-right text, inline-start is usually the left side. In right-to-left text, it is usually the right side — without changing your CSS.
💡
Beginner Tip
Think of inline-start as the side where reading begins. In English (LTR), that is typically the left edge. Use border-inline-start instead of border-left when your layout must work in RTL too.
Foundation
📝 Syntax
border-inline-start accepts border width, style, and color like other border shorthands:
syntax.css
selector{border-inline-start:width style color;}
Basic Example
border-inline-start.css
p{border-inline-start:4px solid red;}
Syntax Rules
Sets width, style, and color for the inline-start side only.
Omitted components use initial values: medium, none, currentcolor.
Any valid border width, style, and color values are accepted.
The physical side mapped to inline-start depends on direction and writing-mode.
Use longhands when you need to set only width, style, or color on inline-start.
Cheat Sheet
⚡ Quick Reference
Question
Answer
Initial value
medium none currentcolor
Applies to
Inline-start border side only
Inherited
No
Animatable
Partially (color and width)
Common use
Quote bars, start dividers, RTL-safe leading borders
Defaults
Default Value
The default value of border-inline-start is medium none currentcolor. No visible border appears until you set a non-none style and a width greater than zero.
Reference
💎 Property Values
Component
Example
Meaning
border-width
4px, thin, 0.25rem
Thickness of the inline-start border
border-style
solid, dashed, dotted
How the inline-start border is drawn
border-color
red, #2563eb, currentcolor
Color of the inline-start border
Common Value Types
4px solidsolid start border
3px dasheddashed style
6px solidthick accent
Scope
Inline-Start and Writing Modes
border-inline-start always targets the start of the inline axis. The physical side changes with text direction, but the logical meaning stays the same.
LTR (direction: ltr)
Inline-start border (usually left)
inline-startinline-end
RTL (direction: rtl)
Inline-start border (usually right)
inline-endinline-start
Compare
border-inline-start vs related properties
Property
Targets
Best for
border-inline-start
Inline-start side only
Leading edge borders that follow text direction
border-inline-end
Inline-end side only
Trailing edge borders at the end of text flow
border-inline
Both inline-start and inline-end
Matching borders on both inline sides
border-left
Physical left side
Fixed LTR-only layouts
Preview
👀 Live Preview
A box with a blue border on the inline-start side:
Blue border on the inline-start side.
Uses border-inline-start: 4px solid #2563eb;.
Hands-On
Examples Gallery
Try border-inline-start with solid borders, quote accents, RTL text, and dashed styles.
📚 Basic Inline-Start Borders
Add a border on the leading inline side of an element.
Example 1 — 4px Solid Red Border
Add a solid red border on inline-start, matching the reference tutorial.
border-inline-start-basic.html
<style>p{border-inline-start:4px solid red;padding:0.75rem 1rem;}</style><p>This paragraph has a solid red border on the inline-start side.</p>
Logical start borders make quote bars work in RTL too.
How It Works
A start-side border creates a vertical accent at the beginning of the text flow. In RTL, the bar moves to the correct leading side automatically.
🎨 RTL and Style Variations
Test inline-start borders in RTL and with different styles.
Example 3 — RTL Layout
The same inline-start border rule adapts when text direction is right-to-left.
border-inline-start-rtl.html
<style>.rtl-box{direction:rtl;padding:0.75rem 1rem;border-inline-start:4px solid #059669;background:#ecfdf5;}</style><divclass="rtl-box">
حد منطقي على الجانب الابتدائي
</div>
Any valid border style works on inline-start. A dashed leading border adds visual emphasis without a full box outline.
🧠 How border-inline-start Works
1
Browser reads direction
Writing mode and direction define which side is inline-start.
Context
2
Shorthand sets the start border
border-inline-start applies width, style, and color on that side only.
Apply
3
Physical side is mapped
In LTR, inline-start is usually left. In RTL, it is usually right.
Mapping
=
←
Leading inline border
Your element shows a border on the logical start edge of the text flow.
Compatibility
Modern Browser Support
The border-inline-start property is supported in all modern browsers, including Chrome, Firefox, Safari, Edge, and Opera.
✓ Baseline · Modern browsers
Logical inline-start borders in today’s browsers
Chrome, Edge, Firefox, Safari, and Opera support border-inline-start 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 property94% supported
Bottom line: Use border-inline-start for direction-aware leading border styles in modern multilingual projects.
Wrap Up
Conclusion
The border-inline-start property controls the border on the leading inline edge. Use it for quote bars, start dividers, and accent borders that stay correct in LTR and RTL layouts.
Combine width, style, and color in one shorthand, or use the longhand properties when you need finer control over each component.
Use inline-start borders for quote bars and callout accents
Prefer border-inline-start over border-left in RTL layouts
Test start borders in both LTR and RTL
Pair with padding so text does not touch the border
Use longhands when only one component needs to change
❌ Don’t
Assume inline-start is always the physical left side
Mix conflicting physical and logical border rules on the same element
Use border-left when the design must support RTL
Forget a visible style — width alone may not show a border
Hard-code RTL overrides when one logical rule suffices
Summary
Key Takeaways
Knowledge Unlocked
Five things to remember about border-inline-start
Use these points when styling leading inline borders.
5
Core concepts
←01
Start shorthand
Leading side.
Purpose
⚡02
Default none
No border.
Default
🔀03
4px solid
Common pattern.
Values
🌐04
RTL ready
Direction-aware.
Logical
🛠05
Quote bars
Real use case.
Usage
❓ Frequently Asked Questions
The border-inline-start property is a shorthand that sets the border on the inline-start side of an element — the side at the beginning of the text flow direction.
The initial value is medium none currentcolor, which means no visible border unless you set width, style, or color explicitly.
In horizontal left-to-right text, inline-start is usually the left side. In RTL, inline-start is usually the right side.
border-left always targets the physical left side. border-inline-start follows writing direction, so the same rule works in LTR and RTL layouts.
Use it when you need a border on the leading inline side of content, such as a quote accent bar, a sidebar divider, or a start-edge highlight in multilingual layouts.