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-start.md.
Lynx
  • English
  • inset-inline-start

    Introduction

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

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

    Examples

    Syntax

    /* <length> values */
    inset-inline-start: 3px;
    inset-inline-start: 2rpx;
    inset-inline-start: 2.4em;
    inset-inline-start: 3rem;
    
    inset-inline-start: 10%;
    
    /* Keyword value */
    inset-inline-start: auto;
    
    /* calc */
    inset-inline-start: calc(1px + 1px);

    Values

    The inset-inline-start 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-start =
      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.