HTML5 Placeholder Attribute Styling


/ Published in: CSS
Save to your folder(s)

Change the color of Webkit and Firefox 4+ Placeholder attributes.


Copy this code and paste it in your HTML
  1. input:-moz-placeholder, textarea::-moz-placeholder, input::-webkit-input-placeholder, textarea::-webkit-input-placeholder {
  2. color:#a9a9a9;
  3. }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.