I am attempting to make a div which resizes itself dynamically across my webpage and I am wanting text to scale up and down with the parent div's width.
So far i have not been able to do this as font width cannot be given any kind of pixel scaling to do this in any accurate way.
I have found one website which I will link below which has been able to do this. They seem to break each letter down into its own container individually and I'm not exactly sure why.
I'd love an explanation of the JS and structure of what is going on.
Thanks for any help!
Link: https://visualcreatures.com/?section=services-wrapper
I tried several scripts to find some kind of ratio which would help my JS scale it appropriately to the texts parent but nothing seemed to work accurately.