I want to stylize input field as on twitter for authorization. I have the following HTML markup:
<input hint="hint" name="name" type="text">
I need to changed an opacity of the text that contains in the attribute hint on focus. How can I do it?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Ok, here is what you want: http://jsfiddle.net/surendraVsingh/NLrRC/16/
HTML
CSS
Jquery(Updated: Removed bug of clear input on focusout)