Introduction to CSS Overflow
The `overflow` property specifies how content that overflows an element's box is handled.
Common Overflow Values
- visible: Content is not clipped and will overflow the element's box.
- hidden: Content that overflows is clipped and not visible.
- scroll: Adds scrollbars to see overflowing content.
- auto: Adds scrollbars only when necessary.
Example
div {
width: 200px;
height: 100px;
overflow: auto;
}
Browser Support
Supported by all modern browsers.