How can I implement Stack Overflow-like watermarks in forms?
问题 I remember seeing a tutorial somewhere that talks of how to style your input forms in a more “usable” way. Essentially, you have a placeholder value and when you enter the input, it hides the hint so to speak. Now, just to be clear: I don't want the hint (placeholder value text) to disappear on focus, but rather to go lighter when I first start typing something. Good examples: Check out the forms on Aardvark. This is exactly how I wish to have my input forms. Our very own Stack Overflow —