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/relative-bottom-of.md.
Lynx
  • English
  • relative-bottom-of

    Introduction

    The current element is to the below of the sibling element specified corresponding to id in relative-layout.

    Examples

    Values

    none

    Default Value. Act as not set this property.

    <number>

    int only. Specifies the sibling element number.(refer to relative-id).

    Info

    Attention please when setting relative-id: -1 and 0 are special values. -1 is the default value, indicating that the current element will not be considered as the alignment reference standard for sibling elements. Using 0 as an element ID is not allowed, as it will result in unexpected behavior.

    Syntax

    relative-bottom-of: none;
    relative-bottom-of: 1;
    relative-bottom-of: 2;

    Formal definition

    Initial valuenone
    Applies torelative items
    Inheritedno
    Animatable

    Formal syntax

    relative-bottom-of = none | <number>

    Difference between web

    • There is no such style in web.

    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.