Deep Dive CSS: Font Metrics, Line-Height and Vertical-Align - Vincent De Oliveira
Metadata
- Author: the
- Full Title: Deep Dive CSS: Font Metrics, Line-Height and Vertical-Align - Vincent De Oliveira
- URL: https://iamvdo.me/en/blog/css-font-metrics-line-height-and-vertical-align
Highlights
(thankfully, em is based on font-size, not computed height)
That being said, it breaks down the popular belief that line-height is the distance between baselines. In CSS, it is not 3.