Sizing
5.1
Lesson

Height

The height property is used to set the height of an element. Height can be defined in percentage % or pixels px.

Percentage height is calculated based on the height of the immediate parent element.