If the content is larger than the max-height
value,
the excess content overflows, and the element's
height
will be limited by the specified max-height
.
In this example, the paragraph content is now larger
than the max-height
of 150px
. As a result, the excess
content will overflow. And the p
element's height
will
be limited by the specified max-height
.