Apply css to placeholder text of an input type

Placeholder text needs to be styled to match website’s look and feel. Mostly placeholder color is changed. Wondered how to change placeholder text color, font, font-size etc? This can be adjusted by using a small code snippet. Just copy and paste below written code in your website’s stylesheet file.

Default color for placeholder is grey. You may change it using code as given below:

 

Keep styling 🙂

Feb,15,2014
Tags:,

Leave a Reply

Your email address will not be published. Required fields are marked *

%d bloggers like this: