Różne stany inputa
/* Show red borders when filled, but invalid */
input:not(:placeholder-shown) {
border-color: hsl(0, 76%, 50%);
}
/* Show green borders when valid */
input:valid {
border-color: hsl(120, 76%, 50%);
}
Hope this helps and happy coding :)