This fancy search icon will morph into a search field on click, it was designed by Gregor Adams.
If you are having trouble with the pen, try the archived copy on GitHub
Seach Input Animation Snippet
See the Pen morphing search input by Gregor Adams (@pixelass) on CodePen.0