CSS line-height property
Usage
Adjusts the distance between lines of text.
Values
- normal - default
- [multiplication factor] - line height will be set to be equal to this number multiplied by the current font size
- [length] - sets a fixed distance between lines
- [percentage] - sets the line height as a percentage of the current font size
Example
Code:
p {
line-height: 1.6;
}
p {
line-height: 2em;
}
p {
line-height: 150%;
}