CSS overflow Property Explained
What the CSS overflow property does, with an example.
Published November 4, 2026
The CSS overflow property controls what happens to content that's too large to fit its container — visible, hidden, scroll, or auto.
Key points
- Check browser compatibility on a resource like caniuse.com if targeting older browsers
Example
overflow: hidden;