text-fit
checking…
Type that fills its box
Chrome 150 sizes text to its container automatically — no measuring loops. Shown here with a JS fallback so it works in any browser; the native way is one line: text-fit: consume-width.