The border-inline-end-style property sets the line style of the border on the inline-end side only.
01
Inline-End
Trailing side style.
02
solid
Single line.
03
dashed
Broken line.
04
dotted
Round dots.
05
Longhand
Style only.
06
RTL Ready
Direction-aware.
Fundamentals
Definition and Usage
The border-inline-end-style CSS property controls how the border line is drawn on the inline-end side of an element. It is a longhand of border-inline-end and accepts the same style keywords as standard border properties.
Unlike border-right-style, which always targets the physical right side, border-inline-end-style adapts to writing mode and text direction — useful for RTL layouts and multilingual interfaces.
💡
Beginner Tip
border-inline-end-style only sets the line style. Pair it with border-inline-end-width and border-inline-end-color, or use the border-inline-end shorthand.
Foundation
📝 Syntax
border-inline-end-style accepts standard border style keywords:
Accepts none, solid, dashed, dotted, double, and 3D styles.
Only affects the inline-end border side; other sides keep their own styles.
You need a width greater than zero for the style to be visible.
The physical side mapped to inline-end depends on direction and writing-mode.
Default is none, which draws no border on inline-end.
Cheat Sheet
⚡ Quick Reference
Question
Answer
Initial value
none
Applies to
Inline-end border line style
Inherited
No
Animatable
No
Common use
Trailing dividers, dashed end accents, RTL-safe borders
Defaults
Default Value
The default value of border-inline-end-style is none. No inline-end border is drawn until you set a visible style such as solid or dashed.
Reference
💎 Property Values
Value
Example
Meaning
none
border-inline-end-style: none;
No border on inline-end
solid
border-inline-end-style: solid;
Single continuous line
dashed
border-inline-end-style: dashed;
Series of dashes
dotted
border-inline-end-style: dotted;
Series of dots
double
border-inline-end-style: double;
Two parallel solid lines
3D styles
groove, ridge, inset, outset
Three-dimensional border effects
Common Style Types
solidcontinuous line
dasheddash pattern
dotteddot pattern
Scope
Inline-End Style and Writing Modes
border-inline-end-style always applies to the end of the inline axis. The physical side changes with text direction.
LTR (direction: ltr)
Dashed inline-end (usually right)
RTL (direction: rtl)
Dashed inline-end (usually left)
Compare
border-inline-end-style vs related properties
Property
Targets
Best for
border-inline-end-style
Line style on inline-end only
Dashed or dotted trailing edge in logical layouts
border-inline-end
Width, style, and color on inline-end
Setting the full inline-end border in one rule
border-inline-end-width
Thickness on inline-end
How thick the end border is
border-right-style
Physical right side style
Fixed LTR-only layouts
Preview
👀 Live Preview
A box with a dashed blue inline-end border:
Dashed border on the inline-end side.
Uses border-inline-end: 3px dashed #2563eb;.
Hands-On
Examples Gallery
Try border-inline-end-style with dashed, mixed styles, dotted, and RTL layouts.
📚 Basic End Border Styles
Style only the trailing inline border side.
Example 1 — Dashed Inline-End Border
Apply a dashed style on inline-end with width and color longhands, matching the reference tutorial.
border-inline-end-style-dashed.html
<style>p{border-inline-end-style:dashed;border-inline-end-width:2px;border-inline-end-color:black;padding:0.75rem 1rem;}</style><p>This paragraph has a dashed border on the inline-end side.</p>
Dashed still applies to inline-end. In RTL, that is usually the left side — no separate border-left-style rule is needed.
🧠 How border-inline-end-style Works
1
Width reserves space
A border width on inline-end creates room for the line.
Width
2
Style chooses the pattern
border-inline-end-style picks solid, dashed, dotted, or other patterns.
Style
3
Direction maps the side
Inline-end maps to the correct physical side for LTR or RTL.
Mapping
=
▪️
Styled end border
Only the trailing inline edge shows your chosen line style.
Compatibility
Modern Browser Support
The border-inline-end-style property is supported in all modern browsers, including Chrome, Firefox, Safari, Edge, and Opera.
✓ Baseline · Modern browsers
Logical inline-end styles in today’s browsers
Chrome, Edge, Firefox, Safari, and Opera support border-inline-end-style 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-end-style property94% supported
Bottom line: Use border-inline-end-style for direction-aware trailing border styles in modern multilingual projects.
Wrap Up
Conclusion
The border-inline-end-style property controls how the trailing inline border line is drawn. Use it for dashed dividers, dotted accents, and other end-edge effects that stay correct in LTR and RTL layouts.
Combine it with width and color longhands, or use the border-inline-end shorthand when you want all three values together.
Set border-inline-end-width alongside style for visible borders
Use dashed or dotted styles for lightweight trailing dividers
Prefer logical end styles over border-right-style in RTL layouts
Test end border styles in both LTR and RTL
Use the shorthand when width, style, and color are all needed
❌ Don’t
Set style alone without a border width greater than zero
Assume inline-end is always the physical right side
Mix conflicting physical and logical style rules on the same element
Use 3D styles unless they fit your design system
Hard-code RTL overrides when one logical rule suffices
Summary
Key Takeaways
Knowledge Unlocked
Five things to remember about border-inline-end-style
Use these points when styling trailing inline borders.
5
Core concepts
▪️01
End style only
Trailing side.
Purpose
⚡02
Default none
No border.
Default
🔀03
dashed
Common choice.
Values
🌐04
RTL ready
Direction-aware.
Logical
🛠05
Needs width
Style longhand.
Usage
❓ Frequently Asked Questions
The border-inline-end-style property sets the line style of the border on the inline-end side only — such as solid, dashed, or dotted — on the trailing edge along the text flow direction.
The initial value is none, which means no inline-end border is drawn unless you set a visible style.
In horizontal left-to-right text, inline-end is usually the right side. In RTL, inline-end is usually the left side.
border-inline-end-style only sets how the line is drawn. You also need a border-inline-end-width greater than zero and usually a color.
border-right-style always targets the physical right side. border-inline-end-style follows writing direction, so the same rule works in LTR and RTL layouts.