CSS erkennen, ob die Eingabe Wert hat
input:not(:placeholder-shown) {
border-color: green;
}
input:placeholder-shown {
border-color: red;
}
Quite Diabolical
input:not(:placeholder-shown) {
border-color: green;
}
input:placeholder-shown {
border-color: red;
}