New! My 44-page ebook "CSS in 44 minutes" is out! 😃

Get it now →

#overflow

Defines how overflowing content on both horizontal and vertical axis is displayed.

default overflow: visible;

The overflowing content is visible, while the element itself stays at the specified height.

overflow: hidden;

The overflowing content is hidden and can not be accessed.

overflow: scroll;

The overflowing content is accessible thanks to a vertical scrollbar.

overflow: auto;

The browser decides whether to display a vertical scrollbar or not.