CSS HTML Validator - The All-In-One HTML, XHTML, CSS, Link, SEO, and Accessibility Checker
Home Help: "max-width" CSS property

The "max-width" CSS Property

The "min-width", "min-height", "max-width", and "max-height" properties allow authors to constrain content widths and heights to a certain range.

Values for "max-width"
CSS LevelValue
Other (in @viewport)<viewport-length>, where <viewport-length> is "auto", "device-width", "device-height", a positive length, or a positive percentage
CSS 2.1a length, a percentage, or "none"
CSS3a length, percentage, "none", "fill", "fit-content", "max-content", or "min-content"

Recommended Links

Search Engine Links (for more information)

Help us improve this page: Suggest a link or noteReport a problem