For AI agents: the complete documentation index is available at /next/llms.txt, the full documentation bundle is available at /next/llms-full.txt, and this page is available as Markdown at /next/api/css/properties/inset-inline-end.md.
Lynx
  • English
  • 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

    inset-inline-end =
      auto                 |
      <length-percentage>
    
    <length-percentage> =
      <length>      |
      <percentage>

    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.