29
Mar
Faking Placeholder Text with CSS (and a hint of JS)
Hey everybody! About a week ago I was faced with a development dilemma. I needed a search field that toggled open (via jQuery width animation) in my site header. After toggling open, the field would get focus; upon toggling shut, the field would blur and the value would be reset. This seems pretty straightforward, right? […]