CSS property: max-height
Property values
Parameter |
Description |
|---|---|
length |
This value specifies an absolute value for the maximum height of the element. The value can be an integer with the unit of measurement. For example, “10pt” or “6px”. Possible units include pt, px, in, cm, pc, em, or ex. |
percentage |
This value specifies the maximum height as a percentage of the height of the containing block. |
none |
This value specifies that there is no maximum height for the element. |
inherit |
This value specifies that the element inherits the max-height property value from the containing element. |
Parent topic: CSS Properties