Posted By

JimSangwine on 05/05/11


Tagged


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

jecofish


Style Placeholder Text


 / Published in: CSS
 

  1. /* Placeholder text in inputs has (in the browsers implementing it so far) a light gray color. To style it, you'll need vendor prefix CSS properties. */
  2.  
  3. ::-webkit-input-placeholder {
  4. color: red;
  5. }
  6.  
  7. :-moz-placeholder {
  8. color: red;
  9. }

Report this snippet  

You need to login to post a comment.