How to change the font size in the div depending on its long?

Good day!
Tell me how I can change the size of text inside the div, if the div has a fixed width of 100px, and the text can be different length(number of characters).But so that the text in this div always fit completely.
Thank you.
July 8th 19 at 13:16
2 answers
July 8th 19 at 13:18
Solution
For example - fittextjs.com
What you need!
Thank you! - Cecelia.Wate commented on July 8th 19 at 13:21
July 8th 19 at 13:20
handles font-size: ... vw ?
handles better than a plugin - Cecelia.Wate commented on July 8th 19 at 13:23
No, it's not.
Do I need to change in the width of the screen, and from the long text in the text block. - Nels.Gorczany commented on July 8th 19 at 13:26

Find more questions by tags CSSHTML