CSS property: max-width
Property values
Parameter |
Description |
|---|---|
length |
This value specifies an absolute value for the minimum 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 width as a percentage of the width of the containing block. |
none |
This value specifies that there is no maximum width for the element. |
inherit |
This value specifies that the element inherits the max-width property value from the containing element. |
Parent topic: CSS Properties