css placeholder coler code example
Example 1: css placeholder color
::-webkit-input-placeholder {
color: pink;
}
::-moz-placeholder {
color: pink;
}
:-ms-input-placeholder {
color: pink;
}
:-moz-placeholder {
color: pink;
}
Example 2: placeholder color in css
*::-webkit-input-placeholder {
color: red;
}
*:-moz-placeholder {
color: red;
opacity: 1;
}
*::-moz-placeholder {
color: red;
opacity: 1;
}
*:-ms-input-placeholder {
color: red;
}
*::-ms-input-placeholder {
color: red;
}
*::placeholder {
color: red;
}