Roman Komarov avatar Roman Komarov

Fit-to-Width Text: A New Technique

Screenshot of “Fit-to-Width Text: A New Technique”

Registered custom properties are now available in all modern browsers. Using some pre-existing techniques based on them and complex container query length units, I solved a years-long problem of fitting text to the width of a container, hopefully paving the path towards a proper native implementation.

  1. screenshot of Defending Tailwind

    Donnie D'Amato avatar Donnie D'Amato

    Defending Tailwind

    The fact is folks who use Tailwind aren’t thinking about responsibility and scale in this way. They are thinking how can I push this out as fast as…