

- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
CSS overflow-x
The CSS overflow-x allows you to decide what to do with the left right edges of the content.
Example
You can try to run the following code to implement the overflow-x property
<!DOCTYPE html> <html> <head> <style> div { background-color: orange; width: 250px; height: 45px; border: 2px solid blue; overflow-x: hidden; overflow-y: scroll; } </style> </head> <body> <h1>Heading</h1> <div>Overflow property used here. This is a demo text to show the working of CSS overflow-x and overflow-y.</div> </body> </html>
Output
- Related Questions & Answers
- CSS overflow: visible
- CSS overflow: hidden
- CSS overflow: scroll
- CSS overflow: auto
- CSS overflow-y
- CSS text-overflow property
- Values of CSS overflow property
- Working with CSS Overflow Property
- Heap overflow and Stack overflow
- Heap overflow and Stack overflow in C
- Achieve X-Ray effect with CSS
- Java overflow and underflow
- Flip In X Animation Effect with CSS
- Flip Out X Animation Effect with CSS
- Rotate div with skew x-axis using CSS
Advertisements