Overflow
Examples
Auto #
Use -overflow--auto
to show scrollbars if content overflows its box.
If content fits within its box, no scrollbars are shown.
This is an example of an element with a defined height
using -overflow--auto
to scroll the content overflowing its box.
Hidden #
Use -overflow--hidden
to hide content that overflows its box. No scrollbars are shown.
This is an example of an element with a defined height
using -overflow--hidden
to hide its overflow.