visible
Content paints beyond the box.
Nothing is clipped.
The box remains the declared height.
Later content may be covered.
This is the default behavior.
The extra lines remain visible.
But the layout can become messy.
Each card has height: 12rem and contains more text than it can display normally.
Content paints beyond the box.
Nothing is clipped.
The box remains the declared height.
Later content may be covered.
This is the default behavior.
The extra lines remain visible.
But the layout can become messy.
Content outside the box is clipped.
No scrollbar is offered.
Some information may disappear.
Use only when clipping is intended.
Do not hide required instructions.
Do not hide important controls.
This final line may be clipped.
Scrolling appears when needed.
All information stays reachable.
No unnecessary scrollbar is requested.
This is often best for panels.
It works with max-height.
It works with fixed height.
Scroll to reach this final line.
The box is always a scroll container.
Scrollbars depend on the platform.
They may show even when unnecessary.
The content stays reachable.
It is less adaptive than auto.
Use it only deliberately.
Scroll to reach this final line.
Overflow controls what happens when content exceeds the box.
.clip-demo { overflow: hidden; }
.scroll-demo { overflow: scroll; }
.auto-demo { overflow: auto; }