CSS Property:

overflow

Result:

The overflow property defines the behavior content which overflows the element box. This property only works for block elements that have a specified height.

CSS Code:

#myDiv {
                
background-color:pink;
width:200px;
height:90px;
}
Click the property values above to see the result
W3Docs.com-Play it
Do you find this helpful?