The inset-inline-end property sets the logical inline-end offset of a positioned element. In horizontal left-to-right text, that usually means the same edge as right.
With direction: rtl, the same value maps to the left edge. With writing-mode: vertical-rl, it can map to a different physical side (often bottom). It has no effect on static elements. Pair it with inset-inline-start, or set both via inset-inline.
Baseline · Widely available.
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-inline-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 inline axis.
With auto, placement comes from other rules (such as a set start offset plus width, or static position).
Compatibility
Browser Support
inset-inline-end is a browser CSS property for logical positioned offsets. Node.js, Deno, and Bun do not apply it.
✓ Baseline · Widely available
inset-inline-end
Chrome 87+, Edge 87+, Firefox 63+, Safari 14.1+. Internet Explorer has no support — fall back to right (or the matching physical side in RTL/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-inline-endWidely supported
Bottom line: Safe for modern sites. For Internet Explorer, use right (or the physical edge that matches your direction/writing mode). It is not a runtime API.
Remember
Key Takeaways
Role: offset a positioned box from the logical inline-end edge.
Needs position: relative, absolute, fixed, or sticky.
Often like right: in horizontal LTR, then adapts with direction and writing mode.
Initial value:auto. Not inherited.
One line: positioned box + inset-inline-end: 20px; = logical end offset that follows writing mode and direction.
Frequently Asked Questions
It sets the logical inline-end offset of a positioned element. In horizontal LTR writing mode that usually matches right.
The initial value is auto. The browser then places the inline-end edge from other positioning rules.
right always targets the physical right edge. inset-inline-end follows writing-mode and direction, so in RTL it can map to the left edge instead.
No. It only affects elements with position set to relative, absolute, fixed, or sticky.
inset-inline is the shorthand that sets both inset-inline-start and inset-inline-end. Use inset-inline-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.