CSS Overflow

CSS Overflow


CSS Overflow Property 
There may be a case when an element's content might be larger than the amount of space allocated to it. 
For example, the given width and height properties do not allow enough room to accommodate the content of the element. 
CSS provides a property called overflow, which tells the browser what to do if the box's contents is larger than the box itself. 
This property can take one of the following values -
Syntax - 
Overflow : value; 
Now we will see example - 
Example -  using scroll value -
Output - 
Example 2 - 
Using value visible-
Output -