CSS Overflow Property Values and Default
The overflow property in CSS determines how content that exceeds the size of its container is handled. It defines whether content is clipped, hidden, scrollable, or visible outside the element's box.
visible – Default value. Content is not clipped and may overflow outside the container.
hidden – Content that overflows the container is clipped and not visible.
scroll – Scrollbars are always added, allowing the user to scroll the overflowing content.
auto – Scrollbars appear only when content overflows the container.
clip – Clips the content without adding scrollbars (newer value in CSS Overflow Module Level 3).
The default value of the overflow property is visible, meaning overflowing content will simply be displayed outside its container.