Tryit Editor v1.4

<html> <head> <style type="text/css"> div { background-color:#00FFFF; width:150px; height:150px; overflow: hidden } </style> </head> <body> <p>The overflow property decides what to do if the content inside an element exceeds the given width and height properties.</p> <div> You can use the overflow property when you want to have better control of the layout. Try to change the overflow property to: visible, scroll, auto, or inherit and see what happens. The default value is visible. </div> </body> </html> | Your Result:
Edit the code above and click to see the result. | W3Schools.com - Try it yourself