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 overflow-x property is visible. This CSS property is not animatable.
- visible: This property does not clip the content. The content may be rendered outside the left and right edges.
- hidden: It is used to clip the content and no scrolling mechanism is provided.
- scroll: It is used to clip the content and providing a scrolling mechanism.
- auto: It provides a scrolling mechanism for overflowing boxes.
- initial: This property is used to set overflow-x property to its default value.
- inherit: This property is inherited from its parent.
Supported Browsers: The browsers supported by border-bottom-color property are listed below:
- Google Chrome 4.0
- Internet Explorer 9.0
- Firefox 3.5
- Safari 3.0
- Opera 9.5
- HTML | DOM Style overflowX Property
- CSS | transition-property Property
- CSS | nav-down property
- CSS | nav-right property
- CSS | top Property
- CSS | nav-up property
- CSS | right Property
- CSS | all Property
- Web API | DOMRect right property
- CSS | grid-row-gap Property
- CSS | margin-right Property
- Web API | DOMRectReadOnly y property
- HTML | DOM value Property
- CSS | max-height Property
- Web API | DOMRect top property
- CSS | min-height Property
- HTML | DOM specified Property
- CSS | height Property
- CSS | animation-name Property
- HTML | DOM Bdo dir Property
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to firstname.lastname@example.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.