Stop Fixing Headline Gaps With Negative Margins. Use `text-box-trim`

DEV Community·11 points·parsajiravand·about 11 hours ago·dev.to

Line-height reserves space for accent marks your headline never uses — a hand-tuned negative margin only fixes it for one font at one size. text-box-trim does, natively, from the font's own metrics.

Read the full article at dev.to →

Related stories

Related topics