Source Code on GitHub: https://github.com/marcobiedermann/playground/tree/master/ui/search/simple-search-bar
FYI, instead of all that inline js to test if the value is 'search' or not, you can simply use the new HTML5 attribute 'placeholder'. Since we can't write code in the comments, it'll look something similar to this:
input type="text" placeholder="Search"
@cmegown I would prefer to use the placeholder attribute as well but it is not supported in Internet Explorer. IE users will get a blank input field.
You are correct, apologies for assuming it was for mobile. Come on IE, get it together.
Need to know how to enable it? Go here.