CSS min-height property

Usage

Specifies a minimum height for an element. Not supported by Internet Explorer.

Values

  • [length] - specifies an exact height
  • [percentage] - specifies the height as a percentage of the height of the containing element

Example

Code:

div {
  min-height: 50%;
}