![]() |
VOOZH | about |
The overflow-x property in CSS specifies whether to add a scroll bar, clip the content, or display overflow content of a block-level element, when it overflows at the left and right edges.
In other words, this property helps us to display the content which is overflowing from the page horizontally.
The default value of the overflow-x property is visible. This CSS property is not animatable.
Syntax:
overflow-x: visible|hidden|scroll|auto|initial|inherit;Property Values:
Example: In this example, we are using the above-explained property.
Output:
Supported Browsers: The browsers supported by the overflow-x property are listed below: