Web Development

CSS Wrapped 2025

The Chrome Dev Team recaps the new CSS features that shipped in Google Chrome this past year in one amazingly designed webpage. They cover new functionality for creating more customizable components, next-gen interactions, and optimizing ergonomics. We’ve been tracking many of these features as well: The Interest Invoker API and Invoker Commands enable us to

CSS Wrapped 2025 Read More »

Fit width text in 1 line of CSS

From Adam, prototyped in Chrome Canary 145: h1 { text-grow: per-line scale; } Danny discussed this a while back when looking at different approaches for fitting text to a container, spelling out the syntax (text-shrink included) that you can find in Roma Komarov’s explainer: text-grow: <fit-target> <fit-method>? <length>?; text-shrink: <fit-target> <fit-method>? <length>?; <fit-target> per-line: For text-grow,

Fit width text in 1 line of CSS Read More »