Run ยป
<!DOCTYPE html> <html> <head> <style> div { background-color: palegreen; color:black; width: 200px; height: 100px; border: 1px dotted black; overflow: auto; } </style> </head> <body> <h2>CSS Overflow Auto</h2> <P>It is similar to scroll but it added scroll when it needed.</p> <div>CSS overflow property is used to manage the content that too big or not fit to specific area. CSS overflow property is used to manage the content that too big or not fit to specific area. </div> </body> </html>