CSS line-height Property

In CSS, the line-height property is used to specify the amount of space between lines, such as those in text. Negative values are not permitted.




Property Values

Value Description
normal A standard line height. This is the default setting.
number A value that will be multiplied by the current font-size to determine line height.
length A fixed line height in pixels, points, centimeters, and so on.
% A line height expressed as a percentage of the current font size.
initial This property is set to its default value.
inherit This property is inherited from its parent element.

Supported Browsers

Property Chrome Firefox Safari Edge / IE Opera
line-height 1.0 1.0 1.0 4.0 7.0