The border-block-end property is a logical CSS shorthand for styling the border on the block-end side of an element. In horizontal writing, that usually means the bottom edge.
01
Block-End
End of block flow.
02
Shorthand
Width, style, color.
03
Longhands
Width, style, color split.
04
One Edge
Only block-end border.
05
Writing Modes
Adapts to text flow.
06
vs border-bottom
Physical vs logical.
Fundamentals
Definition and Usage
The border-block-end CSS property is a logical shorthand that sets the width, style, and color of the border on the block-end side of an element. The block-end side is the end of the block flow, which changes depending on the writing mode.
This property is useful for controlling borders in a way that adapts to different languages and text directions. It is commonly used for dividers, underlines on content blocks, and section separators that should follow logical layout rules.
💡
Beginner Tip
In a normal English page, border-block-end: 3px solid blue; looks like a bottom border. The benefit is that it stays on the correct logical edge when writing mode changes.
Foundation
📝 Syntax
The border-block-end shorthand sets width, style, and color on the block-end edge:
With writing-mode: vertical-rl, block-end no longer means physical bottom. The same property still targets the correct logical edge.
🧠 How border-block-end Works
1
The browser finds block-end
Writing mode decides which physical edge is the block-end side.
Writing mode
2
You set width, style, and color
Write one shorthand such as border-block-end: 3px solid blue;.
CSS rule
3
Only that edge is styled
Other borders remain unchanged unless you set them separately.
Single edge
=
▦️
Logical end-edge border
Your element gets a clean divider on the block-end side that adapts to layout direction.
Compatibility
Universal Browser Support
border-block-end is supported in all modern browsers. Internet Explorer does not support logical border properties.
✓ Baseline · Modern browsers
Logical block-end borders in today’s browsers
Chrome, Firefox, Safari, Edge, and Opera support border-block-end in current versions.
96%Modern browser support
Google Chrome69+ · Desktop & Mobile
Full support
Mozilla Firefox41+ · Desktop & Mobile
Full support
Apple Safari12.1+ · macOS & iOS
Full support
Microsoft Edge79+ · Chromium
Full support
Opera56+ · Modern versions
Full support
Fallback behavior
For older browsers, use border-bottom as a physical fallback in horizontal layouts.
💻
Internet ExplorerNo support · Use border-bottom instead
None
border-block-end property96% supported
Bottom line: Use border-block-end confidently in modern logical layout systems.
Wrap Up
Conclusion
The border-block-end property is a versatile tool for applying borders in a way that respects the logical flow of content, especially on multilingual websites.
By using logical properties like this, you can create designs that are more adaptable and maintainable. Experiment with different border styles, widths, and colors to enhance your layouts.
Use border-block-end for section dividers and list separators
Pair with padding-block-end so content does not touch the border
Prefer logical borders in components that may change writing mode
Remove block-end borders on the last item in a stacked list when needed
Use longhands when you only need to change one part such as color
❌ Don’t
Assume block-end always equals physical bottom in every layout
Set color or width without a visible border style
Mix physical and logical edge borders on the same component without reason
Use heavy block-end borders on every element in a dense UI
Skip fallbacks only when older browser support is required
Summary
Key Takeaways
Knowledge Unlocked
Five things to remember about border-block-end
Use these points when styling the logical block-end edge.
5
Core concepts
▦️01
Block-End Edge
End of block flow.
Purpose
📝02
Shorthand
Width, style, color.
Syntax
⚙️03
Longhands
Split width/style/color.
Control
🔄04
Writing Mode
Adapts to text flow.
Context
🛠05
One Edge Only
Other sides unchanged.
Scope
❓ Frequently Asked Questions
The border-block-end property is a shorthand that sets the width, style, and color of the border on the block-end side of an element. In horizontal writing, that is usually the bottom border.
The shorthand defaults to medium none currentColor, meaning no visible border until you set a style other than none.
border-bottom always targets the physical bottom edge. border-block-end follows the writing mode, so it stays correct when text flow or direction changes.
It is shorthand for border-block-end-width, border-block-end-style, and border-block-end-color.
Use it when you need a border on only the block-end edge in a logical layout, such as a section divider or footer rule that should adapt to writing mode.