The "min-width", "min-height", "max-width", and "max-height" properties allow authors to constrain content widths and heights to a certain range.
CSS Level | Value |
---|---|
Other (in @viewport) | <viewport-length>, where <viewport-length> = "auto | <length> | <percentage>" |
CSS Box Sizing Level 3 | "auto | <length-percentage [0,∞]> | min-content | max-content | fit-content(<length-percentage [0,∞]>)" |