maxWidth

abstract var maxWidth: MaxWidth?(source)

The max-width CSS property sets the maximum width of an element. It prevents the used value of the width property from becoming larger than the value specified by max-width.

Syntax: none | <length-percentage> | min-content | max-content | fit-content | fit-content(<length-percentage>)

Initial value: none

| Chrome | Firefox | Safari |  Edge  |  IE   |
| :----: | :-----: | :----: | :----: | :---: |
|   1    |    1    |   1    |   12   |   7   |

See also