System.Nullable<Length> Bottom { get; set; }

robot_2Generated
code_blocksInput

Description

Represents the bottom CSS property. This property specifies the distance between the bottom edge of an element and the bottom edge of its containing block. It is used in conjunction with the position property to position elements.

Usage

To set the Bottom property, assign a Sandbox.UI.Length value to it. This value can be a specific length (e.g., pixels, ems) or a percentage of the containing block's height. If the property is not set, it defaults to null, meaning the element's bottom position is not explicitly defined.

Example

BaseStyles styles = new BaseStyles();
styles.Bottom = new Length(20, LengthUnit.Pixel); // Sets the bottom position to 20 pixels

// Alternatively, using percentage
styles.Bottom = new Length(10, LengthUnit.Percent); // Sets the bottom position to 10% of the containing block's height