Chrome supports the placeholder attribute on input[type=text] elements (others probably do too).
input[type=text]
But the following CSS doesn\'t do anything
CSS
For Bootstrap and Less users, there is a mixin .placeholder:
// Placeholder text // ------------------------- .placeholder(@color: @placeholderText) { &:-moz-placeholder { color: @color; } &:-ms-input-placeholder { color: @color; } &::-webkit-input-placeholder { color: @color; } }