The inset-block-end property sets the logical block-end offset of a positioned element. In the default horizontal writing mode, that usually means the same edge as bottom.
Not deprecated and not experimental. Logical inset properties have been widely available across browsers since April 2021. Internet Explorer does not support them.
Syntax
CSS Syntax
syntax.css
inset-block-end:<length> | <percentage> | auto | initial | inherit;
The initial value is auto. The property is not inherited. Percentages refer to the containing block’s size on the block axis.
Switch writing mode.vertical-rl rotates the block axis.
Keep the logical property.inset-block-end still means “from the end of the block axis.”
Physical edge changes. The offset no longer sits on the bottom like bottom would.
Why logical helps. One rule stays correct across writing modes.
Edge Cases & Pitfalls
If the offset looks wrong, check these first.
position
Static elements ignore inset-block-end
Set position to relative, absolute, fixed, or sticky first.
bottom
Not always the same as bottom
bottom is physical. Prefer inset-block-end when the end edge must follow writing mode.
shorthand
inset-block can overwrite it
A later inset-block declaration sets both start and end. Put the longhand after the shorthand if you need only the end side.
mode
Writing mode changes the physical edge
Do not assume “always bottom.” Check writing-mode in vertical layouts.
auto
auto means no forced end offset
With auto, placement comes from other rules (such as a set start offset plus height, or static position).
Compatibility
Browser Support
inset-block-end is a browser CSS property for logical positioned offsets. Node.js, Deno, and Bun do not apply it.
✓ Baseline · Widely available
inset-block-end
Chrome 87+, Edge 87+, Firefox 63+, Safari 14.1+. Internet Explorer has no support — fall back to bottom (or the matching physical side in vertical modes).
96%Modern browser support
Google Chrome87+
Full support
Mozilla Firefox63+
Full support
Apple Safari14.1+
Full support
Microsoft Edge87+
Full support
Opera73+
Full support
Samsung Internet14+
Full support
Internet ExplorerNo support
Not supported
inset-block-endWidely supported
Bottom line: Safe for modern sites. For Internet Explorer, use bottom (or the physical edge that matches your writing mode). It is not a runtime API.
Remember
Key Takeaways
Role: offset a positioned box from the logical block-end edge.
Needs position: relative, absolute, fixed, or sticky.
Often like bottom: in horizontal-tb, then adapts with writing mode.
Initial value:auto. Not inherited.
One line: positioned box + inset-block-end: 20px; = logical end offset that follows writing mode.
Frequently Asked Questions
It sets the logical block-end offset of a positioned element. In horizontal writing mode that usually matches bottom.
The initial value is auto. The browser then places the block-end edge from other positioning rules.
bottom always targets the physical bottom edge. inset-block-end follows writing-mode, so in vertical-rl it can map to a side edge instead.
No. It only affects elements with position set to relative, absolute, fixed, or sticky.
inset-block is the shorthand that sets both inset-block-start and inset-block-end. Use inset-block-end when you only need the end side.
It is Baseline Widely available. Chrome 87+, Edge 87+, Firefox 63+, and Safari 14.1+ support it. Internet Explorer does not. It is a browser CSS property, not a Node.js feature.