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/padding-inline-end.md.
Lynx
  • English
  • padding-inline-end

    Introduction

    Defines the logical inline end padding of an element, which maps to a physical padding depending on the element's direction. Must be nonnegative.

    In LTR mode, padding-inline-end taking the same values as the padding-right. In RTL mode, padding-inline-end taking the same values as the padding-left.

    Examples

    Syntax

    /* <length> values */
    padding-inline-end: 0.5em;
    padding-inline-end: 0px;
    padding-inline-end: 2rpx;
    
    /* <percentage> value */
    padding-inline-end: 10%;

    Values

    0px

    Default value.

    <length>

    The size of the padding as a fixed value. Must be nonnegative.

    <percentage>

    The size of the padding as a percentage, relative to the inline size (width) of the containing block.

    Formal definition

    Initial value0
    Applies toall elements
    Inheritedno
    Animatable
    Percentagesrefer to the width of the containing block

    Formal syntax

    padding-inline-end =
      <length-percentage [0,∞]>
    
    <length-percentage> =
      <length>      |
      <percentage>

    Difference with the Web

    1. writing mode is not supported in Lynx.

    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.