@mdo

Powered by Fusion

WebKit placeholder text color

<input type="text" id="phone" placeholder="xxx-xxx-xxxx">
::-webkit-input-placeholder {
  color: #ccc;
}

Anthony Short shows us how to change the placeholder text for input fields in WebKit browsers.


Questions?

Have a question about this post, Bootstrap, GitHub, or anything else? Ask away on Twitter or in my AMA repo.