Is it possible to scale text to always fit the width of its container with container queries?
Is there a way (perhaps using container query units) to have text always fit the width of its container? Most of the solutions I've seen have been for static text, but what if you have, say, a blog title that could have any number of characters? Can we have the text always fit the parent?
Recent Announcements
Continue the conversation
Join the Discord to ask follow-up questions and connect with the community
KP-C
Kevin Powell - Community
A friendly place for developers to meet other devs, ask questions, get help, and just have a good time 🙂.