![]() |
VOOZH | about |
This property specifies how the browser will behave when it reaches the inline direction boundary of a scrolling area.
Syntax:
overscroll-behavior-inline: auto | contain | none;Property Values:
It can be used to prevent inline over scrolling. Consider the following scenario where two block-level elements are present, one containing the other. The outer block and the inner block, both have respective horizontal scrolls. By default, when we scroll inside the inner block and its boundary is reached, the whole page will begin to scroll, which has to be avoided. By using the overscroll-behavior-inline property in the inner block, we can prevent this situation.
Example:
Output:
Supported Browsers: