SMRTR ProgrammingDec 22, 2025Daily.dev

text-decoration-inset is Like Padding for Text Decorations

SMRTR summary

The new CSS text-decoration-inset property fixes a long-standing web design issue where underlines extend beyond text characters, causing visual misalignment. Available in Firefox 146+, it allows precise trimming of text decorations using length values and enables native underline animations without custom CSS workarounds.

SMRTR provides this summary for quick context. The original article belongs to Daily.dev.

Read the original article
SMRTR Programming

Get the next batch of curated stories in your inbox.

This archive is built from SMRTR newsletter stories. Subscribe for hand-picked stories without the extra noise.

Related Stories

Browse Programming
ProgrammingAug 25, 2026

The End of Programming

AI rewrote Bun's entire JavaScript runtime—one million lines of code in eleven days—for ~$165,000, with minimal human involvement. As AI-generated code surges exponentially,...