Overflow

Decides what happens when content doesn't fit: show, hide or scroll.

What does overflow do?

overflow decides what happens when content is too big for its box: show it anyway, hide it, or add scrollbars.

.chat-messages { height: 300px; overflow-y: auto; }   /* scrolls when full */

Level: Apprentice · More CSS terms at this level

Updated