Skip to content

<overflow>

The <overflow> CSS type represents overflow modes.

Syntax

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

Value Description
auto Determine overflow mode automatically.
hidden Don't overflow.
scroll Allow overflowing.

Examples

CSS

#container {
    overflow-y: hidden;  /* Don't overflow */
}

Python

widget.styles.overflow_y = "hidden"  # Don't overflow