maxHeight
The max-height
CSS property sets the maximum height of an element. It prevents the used value of the height
property from becoming larger than the value specified for max-height
.
Syntax: none | <length-percentage> | min-content | max-content | fit-content | fit-content(<length-percentage>)
Initial value: none
| Chrome | Firefox | Safari | Edge | IE |
| :----: | :-----: | :-----: | :----: | :---: |
| 18 | 1 | 1.3 | 12 | 7 |
Content copied to clipboard