HTML5 input placeholder styling


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



Copy this code and paste it in your HTML
  1. input::-webkit-input-placeholder {
  2. color: #999;
  3. font-style: italic; }
  4.  
  5. input:-moz-placeholder {
  6. color: #999;
  7. font-style: italic; }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.