placeholder text


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

stylize placeholder text without affecting user text


Copy this code and paste it in your HTML
  1. ::-webkit-input-placeholder {
  2. color: pink;
  3. }
  4. ::-moz-placeholder { / Firefox 19+ /
  5. color: pink;
  6. }
  7. :-ms-input-placeholder {
  8. color: pink;
  9. }
  10. :-moz-placeholder { / Firefox 18- /
  11. color: pink;
  12. }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.