CSS · Properties — CSS Overflow

overflow-block

The CSS overflow-block property. Initial value: auto. Not inherited.

Syntax
overflow-block: visible | hidden | clip | scroll | auto

Example

Try it

Notes

Media: visual. Applies to: blockContainersFlexContainersGridContainers. Computed value: asSpecifiedButVisibleOrClipReplacedToAutoOrHiddenIfOtherValueDifferent.

More in this group

line-clamp max-lines overflow-clip-margin overflow-inline overflow-x overflow-y scroll-axis-lock scroll-behavior

Learn this in the course

Reference pages are the quick answer. The course explains the why, shows the full example and ends with a challenge.

Open the course