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> is "auto", "device-width", "device-height", a positive length, or a positive percentage |
CSS 2.1 | a length, a percentage, or "none" |
CSS3 | a length, percentage, "none", "fill", "fit-content", "max-content", or "min-content" |