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 from, the height of the element being smaller than the min-height property.


Try Yourself