CSS Property: line-height
The minimal height for a line of text.
Possible Values
Value | Note | Example |
---|---|---|
[number] | A multiplier of the computed font size. Should not be a negative value. | 1.2 |
[length] | Should not be a negative value. | 1.2em |
[percentage] | Calculated in relation to the computed font size. Should not be a negative value. | 120% |
normal | A “reasonable” height, suitable to the font in use. Typically equivalent of 1.2 . | |
inherit | ||
initial | ||
unset |
Example
p { line-height: 1.5 }