# The CSS lh unit

DevFeed: [The CSS lh unit](<https://devfeed.tech/articles/the-css-lh-unit-45350.md>)

Original publisher: [Read original article](<https://ishadeed.com/article/lh-unit/>)

Author: Ahmad Shadeed

Published: 2026-07-31T00:00:00Z

Content type: tutorial

Language: en

Sources: [Ahmad Shadeed](<https://devfeed.tech/sources/ahmad-shadeed.md>)

Topics: [CSS](<https://devfeed.tech/topics/css.md>), [Web Development](<https://devfeed.tech/topics/web-development.md>)

Tags: [browser](<https://devfeed.tech/tags/browser.md>), [css](<https://devfeed.tech/tags/css.md>)

## AI overview

This article explains the CSS line height unit, including how to use it for vertical spacing and paper-line effects. It shows how spacing can remain aligned with text line height and adapt better when font sizes change.

## Source excerpt

A look at the CSS line height unit and how it works.