By using this site you agree to the use of cookies by Brugbart and our partners.

Learn more

CSS Min-height Property

Edited: 2011-03-25 01:18

The CSS min-height Property is used to set the minimum height for elements.

The min-height property can be used to set a height for elements that doesn't have enough content. Elements with min-height applied, will not "collapse" beyond the value specified.

Possible Values

Read: Units of Measurement, to understand the many possible values.

How to use the min-height property

#Basement {
  min-height: 200px;
}

Inherited? - NO!