Form Placeholder Styling

input::-webkit-input-placeholder { color: #000; } input:active::-webkit-input-placeholder , input:focus::-webkit-input-placeholder { color: #666; } input::-moz-placeholder { color: #000; opacity: 1; /* Firefox has opacity setting */ } input:active::-moz-placeholder, input:focus::-moz-placeholder { color: #666; } input:-ms-input-placeholder { color: #000; } input:active::-ms-input-placeholder , input:focus::-ms-input-placeholder { color: #666; }
Form input placeholder styling

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.