Skip to main content

What does the lh unit do?

The lh unit in CSS is a value equal to the element's current line-height. That is, 1lh equals the line height set on that same element. It is usually used for vertical spacing and responsive sizes tied to line height.

Short Answer

Interview ready
Premium

A concise answer to help you respond confidently on this topic during an interview.