inset-inline-end

Introduction

The inset-inline-end CSS property defines the logical inline end inset of an element, which maps to a physical offset depending on the element's directionality. It corresponds to the right or left property depending on the values defined for direction.

In LTR, it corresponds to the right property. In RTL, it corresponds to the left property.

Examples

Syntax

/* <length> values */
inset-inline-end: 3px;
inset-inline-end: 2rpx;
inset-inline-end: 2.4em;
inset-inline-end: 3rem;

inset-inline-end: 10%;

/* Keyword value */
inset-inline-end: auto;

/* calc */
inset-inline-end: calc(1px + 1px);

Values

The inset-inline-end property takes the same values as the left property.

Formal definition

Initial valueauto
Applies toall elements
Inheritedno
Animatable
Percentageslogical-width of containing block

Formal syntax

takes the same as the left property.

Difference with the web

  • In Lynx, writing-mode is not supported.

Compatibility

LCD tables only load in the browser

Except as otherwise noted, this work is licensed under a Creative Commons Attribution 4.0 International License, and code samples are licensed under the Apache License 2.0.