inset-inline-end
A logical property that sets the distance from the 'end' of the inline axis (usually the 'right' in LTR or 'left' in RTL). It's the logical replacement for 'right'.
It is documented as part of the CSS Logical Properties and Values, CSS Positioned Layout specification.
Syntax
/* Usage Example */
.badge {
position: absolute;
/* Positions at the end of the line (right in English, left in Arabic) */
inset-inline-end: 1rem;
inset-block-start: 1rem;
}
/* Syntax */
inset-inline-end: top;
/* Global values */
inset-inline-end: inherit;
inset-inline-end: initial;
inset-inline-end: revert;
inset-inline-end: revert-layer;
inset-inline-end: unset;
inset-inline-end Browser support
Widely available
Since
2021 95% global usage
This feature is well established and works across many devices and browser versions. It has been available across browsers since 2021.
87+
63+
14.1+
87+