'how to prevent textarea element from stretching past a certain height

There is information on the net about how to prevent the textarea element from being resized in width or height. But I can't find how to make it so that the element can be stretched, but only to a certain height. Or can't it be done?



Solution 1:[1]

max-height and max-width CSS properties still work for resizable textarea

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Jared