From http://www.css88.com/demo/input-textarea-adaptive/