How to adapt the font size for the block?

0 like 0 dislike
8 views
There is a block of fixed width, which is the text. How to make the font-size adjusted so that the text always fills the whole block in width and decreased in size as you type?

Example

At the time, for the fields used the plugin inputfit.js
And there are simple blocks like that?
by | 8 views

1 Answer

0 like 0 dislike
Solution "in a forehead", but something is better than nothing, I did not invent: https://jsfiddle.net/t93zoorg/1/
by

Related questions

0 like 0 dislike
3 answers
0 like 0 dislike
1 answer
0 like 0 dislike
4 answers
0 like 0 dislike
2 answers
0 like 0 dislike
1 answer
110,608 questions
257,186 answers
0 comments
33,703 users