MaxHeight
Typeobject
Backlinks1This property is used to limit the height of an element and is only available when the size type is fixed or relative. By setting the max-height property of an element, you can specify the maximum height of the element in the vertical direction, meaning that it will not exceed this height. This is useful for ensuring that elements are not overly stretched when displayed on different devices.