Overflow

Use to change how content overflows an element.

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.

<div class="-overflow--auto">...</div>

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.

<div class="-overflow--hidden">...</div>