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.
min-height: value | none;
.mydiv {
border: 1px solid black;
min-height: 100px;
}
value: sets the given value as the minimum height of the element.
none: sets no minimum height. (default value)