I have some text that I want to resize to 100% of the browser when hovering over a button. How can I make this text fit in the browser/container?
I know that using font size
you can do something like font-size:100vw
but the animation of font-size is very unstable so I can't use this method.
http://jsfiddle.net/0n15mfyL/
For those wondering about jitter, it's noticeable when the font is scaled down: http://jsfiddle.net/rbk48upd/
I am considering requestAnimationFrame()