Create a search animation sliding the text input part from the right to left
问题 I want to create a animation on search loop icon when hovering in it.First the loop only is displayed like this picture And when I will hover on the loop icon the text input must appear from the right inceasing its width to left and get 100% width. I tried this code jQuery(".main_search .search-field").focusin(function() { jQuery(".main_search .screen-reader-text").css( "display", "none"); }); jQuery(".main_search .search-field").focusout(function() { jQuery(".main_search .screen-reader-text"