Source Code:
(back to article)
Submit
Result:
Report an issue
<!DOCTYPE html> <html> <head> <title>Title of the document</title> <style> div.example { background-color: #1c87c9; color: #fff; width: 40px; overflow-x: hidden; } </style> </head> <body> <h2>Overflow-x property example</h2> <h3>Overflow-x: hidden</h3> <div class="example"> Lorem Ipsum is simply dummy text of the printing and typesetting industry. </div> </body> </html>