Clear Default Search String on Focus | CSS-Tricks
Wed Jun 03 2020 07:32:34 GMT+0000 (Coordinated Universal Time)
1. Set value of field to “Search…” 2. When field comes into focus, set color to black. 3. If value is default, remove it. 4. When field goes out of focus, set color back to light gray. 5. If value is empty, put back default value
https://css-tricks.com/snippets/jquery/clear-default-search-string-on-focus/
Comments