CSS min-height property

CSS min-height

CSS min-height is used to specify the minimum height of the element.

If the content is smaller than the given minimum height, min-height property will be applied. Else it wont.

It prevents the height of the of the element becomes smaller than the min-height property.

Example

Try Yourself