ScanSkill

min-height

The min-height property defines the minimum height of an element. If the content height is less than min-height then the min-height property will have no effect.

Syntax

min-height: value | none;

Example

.mydiv {
            border: 1px solid black;
            min-height: 100px;
        }
min-height

Property Values

value: sets the given value as the minimum height of the element.

none: sets no minimum height. (default value)