[go: up one dir, main page]

Skip to content

<horizontal>

The <horizontal> CSS type represents a position along the horizontal axis.

Syntax

The <horizontal> type can take any of the following values:

Value Description
center Aligns in the center of the horizontal axis.
left (default) Aligns on the left of the horizontal axis.
right Aligns on the right of the horizontal axis.

Examples

CSS

.container {
    align-horizontal: right;
}

Python

widget.styles.align_horizontal = "right"