The line-height property specifies the height of a text line.
You can set the distance between lines by using this property.
p {
line-height: 1.5em;
}
Property |
Value |
Explanation |
line-height |
number, length, %, or normal |
the height of a text line |
The default is "normal".
line-height: 1.5;
line-height: 1.5em;
line-height: 150%;
Example