0
I have the following CSS
::-webkit-input-placeholder,
:-moz-placeholder,
::-moz-placeholder,
:-ms-input-placeholder {
color: rgb(150,150,150);
}
::-webkit-input-placeholder:hover,
:-moz-placeholder:hover,
::-moz-placeholder:hover,
:-ms-input-placeholder:hover {
color: rgb(255,255,255);
}
The
::-webkit-input-placeholder,
:-moz-placeholder,
::-moz-placeholder,
:-ms-input-placeholder {
color: rgb(150,150,150);
}
works in all browsers I tested, but the
::-webkit-input-placeholder:hover,
:-moz-placeholder:hover,
::-moz-placeholder:hover,
:-ms-input-placeholder:hover {
color: rgb(255,255,255);
}
Only works on firefox.
Where is the error?
Note: I have tried with :phocus, didn’t work either
The problem is that I was making one line under the other. So it didn’t work. When I put them all under the same line it worked.
– Carlos Rocha
@Carlosrocha ops, I don’t understand.
– user60252
:Focus::-Webkit-input-placeholder, :Focus:-Moz-placeholder {..}
– Carlos Rocha