Home
CSS
CSS Overflow
Tryit: Using overflow: auto
Run ❯
zig
.
com
×
Change Orientation
Change Theme, Dark/Light
Go to Spaces
Overflow: auto
The auto value is similar to scroll, only it add scrollbars when necessary:
You can use the overflow property when you want to have better control of the layout. The overflow property specifies what happens if content overflows an element's box.