Clear placeholder on focus

Because it could be disturbing for people who are not confident with forms not being able to delete words before writing.
This commit is contained in:
MickGe 2021-11-09 00:20:30 +01:00 committed by GitHub
parent 19e0ea5f6c
commit ebf6af2f81
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -46,6 +46,10 @@ input[type="text"], input[type="email"], select {
border-color: #0055d4;
}
input:focus::placeholder {
color: transparent;
}
.center {
text-align: center;
}