CSS Property:
max-height:

Result:

Change this DIV's max-height by clicking the radiobuttons on the left.

Overflowing content will be displayed outside of the DIV

CSS Code:
div {
    
    max-height:none;
      }
Click the property values above to see the result
W3Schools.com - Play it