CSS HTML Validator - The fast, all-in-one, HTML, CSS, Link, SEO, spelling, and accessibility checker for Windows, & htmlval for Mac and Linux
Home Help: "height" CSS property

The "height" CSS Property

This property specifies the height of the content area or border area (depending on 'box-sizing') of certain boxes.

Values for "height"
CSS LevelValue
Other (in @viewport)"<viewport-length>{1,2}", where <viewport-length> = "auto | <length> | <percentage>"
CSS Box Sizing Level 3"auto | <length-percentage [0,∞]> | min-content | max-content | fit-content(<length-percentage [0,∞]>)"

Syntax Notes for "height"

  • Negative values are illegal.

Recommended Links

Search Engine Links (for more information)

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