CSS text-box trims lead spacing in web fonts

carmenansio.com13 min read

The CSS text-box property enables developers to remove the invisible block of lead inherited from metal typography that surrounds digital fonts. By trimming the excess space above capital letters and below baselines, layout components can match design files without requiring per-font padding nudges. Open article →