Placeholder Styling with CSS


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

4/25/2011: This attribute is not styleable as of Opera 11. Internet Explorer 10 will not support placeholder at all.


Copy this code and paste it in your HTML
  1. input::-webkit-input-placeholder, input:-moz-placeholder {color: red;}

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.