skip to main content

Deep dive CSS: font metrics, line-height and vertical-align
iamvdo.me

Vincent De Oliveira:

Line-height and vertical-align are simple CSS properties. So simple that most of us are convinced to fully understand how they work and how to use them. But it’s not. They really are complex, maybe the hardest ones, as they have a major role in the creation of one of the less-known feature of CSS: inline formatting context.

No kidding, this stuff is complex.