I'm trying to style a placeholder for input text in Chrome v42 Why does the following code not work in the latest version of Chrome?
Or rather what is the fix?
https://jsfiddle.net/5osszauf/
Note: I'm fully aware there's cross browser CSS. Please ignore.
<input type="text" placeholder="fefg3f">
input::-webkit-input-placeholder, input:focus::-webkit-input-placeholder, input:focus:-moz-placeholder, input:focus::-moz-placeholder, input:focus:-ms-input-placeholder {
color: #000;
}
EDIT: I took the code from the stackoverflow post
How to change placeholder color on focus?
If in answer is provided it might be worth updating the answer for this post also?