Menu
The line-height
property designates a line’s height.
Only positive values are allowed.
p.one {
line-height: normal;
}
p.two {
line-height: 1.25;
}
p.three {
line-height: 125%;
}
normal
Default value. Sets the line height to normal.
number
Sets the line height to this numerical value multiplied with the current font-size.
length
Sets a fixed line height in length units (px, pt, em, etc.)
%
Sets the line height in percentage of the current font-size.
initial
Sets the property to its default value.
inherit
Inherits this property’s value from its parent item.
Have a code example of line-height
? Submit a codepen.io demo and we'll showcase it here ↴