Name

min-height

Synopsis

The value of this property sets a minimum constraint on the height of the element. Thus, the element can be taller than the specified value, but not shorter. Negative values are not permitted.

Values:

<length> | <percentage> | inherit

Initial value:

0

Applies to:

all elements except inline nonreplaced elements and table elements

Inherited:

no

Percentages:

refer to the width of the containing block

Computed value:

for percentages, as specified; for length values, the absolute length

Get Cascading Style Sheets: The Definitive Guide, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.