javascript - decreasing font size in a text box dynamically -


Is it possible to dynamically control the font size in the text area / text box, so that the user decreases during the type ? (I.e. i + 1 is smaller than character i )

thanks

Post-text "itemprop =" text ">

No, it's not possible in text field or text box. The font-size specified for those controls will affect all those text. However, if you regularly visit & lt; Div & gt; You can achieve the effect by using and make your content editable, such as in WYSIWYG editors.

A simple example.


Comments

Popular posts from this blog

MySql variables and php -

url rewriting - How to implement the returnurl like SO in PHP? -

Which Python client library should I use for CouchdB? -