The line-height
property for block elements determines the minimum height of a line of text.
For embedded inline elements (like img
), the line-height
property has no effect.
For other inline elements, line-height
specifies the height that is used to calculate the block's line height.
line-height: normal | number | length | percentage | none;