JSFiddle - React, Tailwind, and code Playground
by darkajax
HTML
<form id="searchbox" method="get" action="http://www.google.com">
<input type="text" name="q" size="20"><input type="submit" value="search">
</form>
JavaScript
$('input[type=text]').click(function(){
$(this).animate({width:'50px'});
});