Answers for "how to change font color of placeholder in css"

2

change input placeholder font color

input[type="email"].big-dog::-webkit-input-placeholder {
  color: orange;
}
Posted by: Guest on June-08-2021
1

placeholder color in css

/* do not group these rules */
*::-webkit-input-placeholder {
    color: red;
}
*:-moz-placeholder {
    /* FF 4-18 */
    color: red;
    opacity: 1;
}
*::-moz-placeholder {
    /* FF 19+ */
    color: red;
    opacity: 1;
}
*:-ms-input-placeholder {
    /* IE 10+ */
    color: red;
}
*::-ms-input-placeholder {
    /* Microsoft Edge */
    color: red;
}
*::placeholder {
    /* modern browser */
    color: red;
}
Posted by: Guest on October-27-2020

Code answers related to "how to change font color of placeholder in css"

Browse Popular Code Answers by Language